Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001522, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.12 MB / 344.2 MB, free: 11.61 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003644/0.003644, allocations: 81.86 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1506, allocations: 62.44 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3769/0.5276, allocations: 139 MB / 0.6047 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.5332, allocations: 4.732 MB / 0.6093 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.5333, allocations: 0 / 0.6093 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.5337, allocations: 55.59 kB / 0.6094 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.5355, allocations: 0.7384 MB / 0.6101 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.5359, allocations: 160 kB / 0.6102 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.5364, allocations: 366.2 kB / 0.6106 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.103e-05/0.5364, allocations: 21.66 kB / 0.6106 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.5367, allocations: 163.4 kB / 0.6108 GB, free: 2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.537, allocations: 187.4 kB / 0.6109 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.5371, allocations: 8 kB / 0.6109 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.5386, allocations: 0.6942 MB / 0.6116 GB, free: 1.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.938e-05/0.5387, allocations: 51.75 kB / 0.6117 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.5388, allocations: 111.5 kB / 0.6118 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008965/0.5397, allocations: 477.1 kB / 0.6122 GB, free: 500 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5398, allocations: 4 kB / 0.6122 GB, free: 496 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5398, allocations: 0 / 0.6122 GB, free: 496 kB / 446.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.5398, allocations: 0 / 0.6122 GB, free: 496 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001216/0.541, allocations: 0.5936 MB / 0.6128 GB, free: 15.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.541, allocations: 12.03 kB / 0.6128 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/0.5411, allocations: 62.72 kB / 0.6129 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.5413, allocations: 35.98 kB / 0.6129 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.5416, allocations: 228 kB / 0.6131 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.5417, allocations: 123.9 kB / 0.6133 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.5417, allocations: 24.38 kB / 0.6133 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.5422, allocations: 326.7 kB / 0.6136 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5423, allocations: 0 / 0.6136 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.5423, allocations: 12 kB / 0.6136 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.5423, allocations: 8 kB / 0.6136 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.5432, allocations: 0.7352 MB / 0.6143 GB, free: 14.19 MB / 462.1 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.0015/0.5447, allocations: 1.23 MB / 0.6155 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.5451, allocations: 169.1 kB / 0.6157 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.5452, allocations: 93.42 kB / 0.6158 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002514/0.5478, allocations: 2.695 MB / 0.6184 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.5478, allocations: 34.56 kB / 0.6185 GB, free: 9.332 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5478, allocations: 3.938 kB / 0.6185 GB, free: 9.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006614/0.5485, allocations: 226.5 kB / 0.6187 GB, free: 9.102 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5485, allocations: 59.34 kB / 0.6187 GB, free: 9.031 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.5487, allocations: 212.1 kB / 0.6189 GB, free: 8.816 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.5488, allocations: 25.7 kB / 0.619 GB, free: 8.785 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.5489, allocations: 222.6 kB / 0.6192 GB, free: 8.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.549, allocations: 59.28 kB / 0.6192 GB, free: 8.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.669e-05/0.5491, allocations: 78.03 kB / 0.6193 GB, free: 8.418 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5492, allocations: 326.8 kB / 0.6196 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.5493, allocations: 56.83 kB / 0.6197 GB, free: 8.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.5496, allocations: 321.2 kB / 0.62 GB, free: 7.594 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.5501, allocations: 416.4 kB / 0.6204 GB, free: 7.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5501, allocations: 0 / 0.6204 GB, free: 7.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005762/0.5507, allocations: 377.2 kB / 0.6207 GB, free: 6.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5507, allocations: 12 kB / 0.6207 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5508, allocations: 8 kB / 0.6207 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.5508, allocations: 15.94 kB / 0.6208 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.5511, allocations: 111.8 kB / 0.6209 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.5512, allocations: 19.92 kB / 0.6209 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.5514, allocations: 17 kB / 0.6209 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.5514, allocations: 32 kB / 0.6209 GB, free: 6.469 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 0.0001342/0.5516, allocations: 153.6 kB / 0.6211 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.5516, allocations: 15.81 kB / 0.6211 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.5519, allocations: 151.8 kB / 0.6212 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.5519, allocations: 7.984 kB / 0.6212 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.552, allocations: 3.938 kB / 0.6213 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.552, allocations: 1.625 kB / 0.6213 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.5525, allocations: 440 kB / 0.6217 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5525, allocations: 0 / 0.6217 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5527, allocations: 27.98 kB / 0.6217 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5527, allocations: 4.062 kB / 0.6217 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5527, allocations: 4 kB / 0.6217 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5527, allocations: 4 kB / 0.6217 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5527, allocations: 3.984 kB / 0.6217 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.553, allocations: 216.9 kB / 0.6219 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.5531, allocations: 108.8 kB / 0.622 GB, free: 5.234 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.5531, allocations: 4 kB / 0.622 GB, free: 5.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.5533, allocations: 13.11 kB / 0.622 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.5534, allocations: 7.984 kB / 0.622 GB, free: 5.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5534, allocations: 8 kB / 0.6221 GB, free: 5.203 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.5535, allocations: 152.5 kB / 0.6222 GB, free: 5.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5535, allocations: 0 / 0.6222 GB, free: 5.051 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004678/0.554, allocations: 91.94 kB / 0.6223 GB, free: 4.961 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0007197/0.5547, allocations: 0.8267 MB / 0.6231 GB, free: 4.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.5551, allocations: 189.3 kB / 0.6233 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5551, allocations: 0 / 0.6233 GB, free: 3.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.5551, allocations: 39.86 kB / 0.6233 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.5556, allocations: 48.77 kB / 0.6234 GB, free: 3.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.5587, allocations: 2.724 MB / 0.626 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5591, allocations: 0.7285 MB / 0.6267 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002791/0.5594, allocations: 50.98 kB / 0.6268 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.5595, allocations: 67.34 kB / 0.6268 GB, free: 15.89 MB / 478.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5595, allocations: 0 / 0.6268 GB, free: 15.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.5878, allocations: 5.26 MB / 0.632 GB, free: 10.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.706, allocations: 8.594 kB / 0.632 GB, free: 10.74 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1)