Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8274/0.8274, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1707/0.1707, allocations: 36.34 MB / 274.3 MB, free: 10.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 414.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.039e-05, allocations: 2.281 kB / 414.4 MB, free: 6.062 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Thermal.mo:605:5-605:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Thermal.mo:605:5-605:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWalls): time 0.2472/0.2472, allocations: 23.31 MB / 437.7 MB, free: 15.12 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.2482, allocations: 0.6306 MB / 438.3 MB, free: 15.1 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.2482, allocations: 11.31 kB / 438.3 MB, free: 15.09 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2484, allocations: 61.97 kB / 438.4 MB, free: 15.07 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.2488, allocations: 208.2 kB / 438.6 MB, free: 15.03 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.2489, allocations: 58.88 kB / 438.6 MB, free: 15.03 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2491, allocations: 404.6 kB / 439 MB, free: 14.94 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2493, allocations: 103.2 kB / 439.1 MB, free: 14.93 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.2495, allocations: 216 kB / 439.3 MB, free: 14.9 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2497, allocations: 198.1 kB / 439.5 MB, free: 14.88 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2497, allocations: 18.53 kB / 439.6 MB, free: 14.88 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.2498, allocations: 43.16 kB / 439.6 MB, free: 14.88 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2499, allocations: 150.2 kB / 439.7 MB, free: 14.87 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.25, allocations: 99.23 kB / 439.8 MB, free: 14.86 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2502, allocations: 318.3 kB / 440.1 MB, free: 14.76 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.2502, allocations: 0 / 440.1 MB, free: 14.76 MB / 362.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2502, allocations: 0 / 440.1 MB, free: 14.76 MB / 362.8 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2503, allocations: 0 / 440.1 MB, free: 14.76 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005463/0.2508, allocations: 0.5271 MB / 440.7 MB, free: 14.35 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2508, allocations: 9.812 kB / 440.7 MB, free: 14.35 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.548e-05/0.2509, allocations: 53.52 kB / 440.7 MB, free: 14.3 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.2509, allocations: 38.09 kB / 440.8 MB, free: 14.29 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.2511, allocations: 246.3 kB / 441 MB, free: 14.1 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2512, allocations: 15.56 kB / 441 MB, free: 14.09 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.2512, allocations: 28.12 kB / 441.1 MB, free: 14.08 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2515, allocations: 286 kB / 441.3 MB, free: 13.92 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2515, allocations: 1.406 kB / 441.3 MB, free: 13.92 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2515, allocations: 11.84 kB / 441.3 MB, free: 13.91 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2515, allocations: 5.438 kB / 441.4 MB, free: 13.91 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.2517, allocations: 170.1 kB / 441.5 MB, free: 13.86 MB / 362.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.2525, allocations: 0.6911 MB / 442.2 MB, free: 13.4 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.2528, allocations: 173.6 kB / 442.4 MB, free: 13.32 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.2529, allocations: 68.69 kB / 442.4 MB, free: 13.29 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.2529, allocations: 2.359 kB / 442.5 MB, free: 13.29 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.2529, allocations: 37.73 kB / 442.5 MB, free: 13.25 MB / 362.8 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2529, allocations: 0 / 442.5 MB, free: 13.25 MB / 362.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003687/0.2533, allocations: 242.9 kB / 442.7 MB, free: 13.15 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.2533, allocations: 104.6 kB / 442.8 MB, free: 13.03 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2535, allocations: 265 kB / 443.1 MB, free: 12.88 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2535, allocations: 27.52 kB / 443.1 MB, free: 12.84 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.2535, allocations: 172.8 kB / 443.3 MB, free: 12.7 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2536, allocations: 55.22 kB / 443.3 MB, free: 12.66 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.2536, allocations: 35.08 kB / 443.4 MB, free: 12.63 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.2537, allocations: 338.2 kB / 443.7 MB, free: 12.3 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.2537, allocations: 68.16 kB / 443.8 MB, free: 12.29 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2538, allocations: 132.8 kB / 443.9 MB, free: 12.19 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.254, allocations: 174.5 kB / 444.1 MB, free: 12.11 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.254, allocations: 1.125 kB / 444.1 MB, free: 12.11 MB / 362.8 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002412/0.2543, allocations: 221.1 kB / 444.3 MB, free: 12.02 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2543, allocations: 5.094 kB / 444.3 MB, free: 12.02 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2543, allocations: 1.25 kB / 444.3 MB, free: 12.02 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2543, allocations: 6.219 kB / 444.3 MB, free: 12.02 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2544, allocations: 53.81 kB / 444.3 MB, free: 12.01 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2544, allocations: 3.203 kB / 444.4 MB, free: 12.01 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.2545, allocations: 18.56 kB / 444.4 MB, free: 12 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.2545, allocations: 3.781 kB / 444.4 MB, free: 12 MB / 362.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.2546, allocations: 160.3 kB / 444.5 MB, free: 11.86 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.2546, allocations: 30.89 kB / 444.6 MB, free: 11.85 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.2547, allocations: 28.36 kB / 444.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2547, allocations: 1.375 kB / 444.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2547, allocations: 1.375 kB / 444.6 MB, free: 11.83 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2547, allocations: 5.203 kB / 444.6 MB, free: 11.82 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.2549, allocations: 262 kB / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2549, allocations: 0 / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.255, allocations: 49.91 kB / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.255, allocations: 2.281 kB / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2551, allocations: 10.27 kB / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2551, allocations: 0.875 kB / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2551, allocations: 0 / 444.9 MB, free: 11.62 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.2554, allocations: 441.5 kB / 445.3 MB, free: 11.33 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.2555, allocations: 46.14 kB / 445.4 MB, free: 11.3 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.2555, allocations: 7.875 kB / 445.4 MB, free: 11.3 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.2556, allocations: 9.297 kB / 445.4 MB, free: 11.3 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.2556, allocations: 15.53 kB / 445.4 MB, free: 11.3 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.2556, allocations: 3.875 kB / 445.4 MB, free: 11.3 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2557, allocations: 192.3 kB / 445.6 MB, free: 11.19 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2557, allocations: 0 / 445.6 MB, free: 11.19 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002304/0.256, allocations: 64.55 kB / 445.7 MB, free: 11.18 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (wall1.Tvol[1],wall1.Tvol[2],wall2.Tvol[1],wall2.Tvol[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000466/0.2564, allocations: 0.9739 MB / 446.6 MB, free: 10.36 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.2567, allocations: 149.5 kB / 446.8 MB, free: 10.32 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2567, allocations: 0 / 446.8 MB, free: 10.32 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.2568, allocations: 71.2 kB / 446.9 MB, free: 10.3 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2571, allocations: 76.7 kB / 446.9 MB, free: 10.28 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.2594, allocations: 2.886 MB / 449.8 MB, free: 8.438 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2595, allocations: 175.7 kB / 450 MB, free: 8.352 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.2596, allocations: 56.44 kB / 450.1 MB, free: 8.344 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.2597, allocations: 81.75 kB / 450.1 MB, free: 8.285 MB / 362.8 MB Notification: Performance of SimCode: time 5.41e-07/0.2597, allocations: 0 / 450.1 MB, free: 8.285 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.2789, allocations: 7.285 MB / 457.4 MB, free: 5.652 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.185, allocations: 0 / 457.4 MB, free: 5.652 MB / 362.8 MB " [Timeout remaining time 653] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.975174161605537] Failed to read output from testmodel.py, exit status != 0: 7.267807818949223 7.27600846 7.024150985 Calling exit ...