Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002698/0.002697, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 94.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3006/0.3006, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00078/0.0007803, allocations: 8 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.156, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5871/0.7432, allocations: 141.8 MB / 0.6174 GB, free: 12.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0153/0.7586, allocations: 7.234 MB / 0.6244 GB, free: 5.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.7598, allocations: 23.75 kB / 0.6244 GB, free: 5.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.7611, allocations: 266.7 kB / 0.6247 GB, free: 5.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.7669, allocations: 1.273 MB / 0.6259 GB, free: 4.031 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.7717, allocations: 0.9856 MB / 0.6269 GB, free: 3.047 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.7744, allocations: 1.051 MB / 0.6279 GB, free: 1.996 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.7756, allocations: 391.3 kB / 0.6283 GB, free: 1.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.7784, allocations: 0.7401 MB / 0.629 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.7804, allocations: 0.5528 MB / 0.6296 GB, free: 320 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.7807, allocations: 32 kB / 0.6296 GB, free: 288 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.7835, allocations: 0.6281 MB / 0.6302 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006302/0.7842, allocations: 219.4 kB / 0.6304 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.7846, allocations: 169.3 kB / 0.6306 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.7873, allocations: 0.987 MB / 0.6315 GB, free: 14.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7873, allocations: 0 / 0.6315 GB, free: 14.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7873, allocations: 0 / 0.6315 GB, free: 14.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.17e-05/0.7874, allocations: 0 / 0.6315 GB, free: 14.28 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003444/0.7908, allocations: 0.99 MB / 0.6325 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7909, allocations: 8.031 kB / 0.6325 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/0.7912, allocations: 102.5 kB / 0.6326 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.7925, allocations: 139.1 kB / 0.6327 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.794, allocations: 484.7 kB / 0.6332 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.7942, allocations: 100.4 kB / 0.6333 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7944, allocations: 51.98 kB / 0.6334 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.7967, allocations: 0.8126 MB / 0.6342 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.7968, allocations: 7.953 kB / 0.6342 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.7969, allocations: 27.98 kB / 0.6342 GB, free: 11.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.746e-05/0.797, allocations: 40.97 kB / 0.6342 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.799, allocations: 0.6165 MB / 0.6348 GB, free: 10.73 MB / 442.7 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.008228/0.8073, allocations: 3.955 MB / 0.6387 GB, free: 6.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.8083, allocations: 347.6 kB / 0.639 GB, free: 6.172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.8085, allocations: 28.91 kB / 0.639 GB, free: 6.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.8086, allocations: 38.84 kB / 0.6391 GB, free: 6.098 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.006e-06/0.8086, allocations: 7.938 kB / 0.6391 GB, free: 6.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01007/0.8187, allocations: 1.674 MB / 0.6407 GB, free: 4.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8188, allocations: 136.5 kB / 0.6409 GB, free: 4.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.8201, allocations: 0.6055 MB / 0.6414 GB, free: 3.566 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.8202, allocations: 37.64 kB / 0.6415 GB, free: 3.523 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.8206, allocations: 393.5 kB / 0.6419 GB, free: 3.137 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.8208, allocations: 145.9 kB / 0.642 GB, free: 2.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.8209, allocations: 12 kB / 0.642 GB, free: 2.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.8211, allocations: 342.8 kB / 0.6423 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.8218, allocations: 205.8 kB / 0.6425 GB, free: 2.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/0.8227, allocations: 0.5047 MB / 0.643 GB, free: 1.785 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.8236, allocations: 287.8 kB / 0.6433 GB, free: 1.504 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.8236, allocations: 4 kB / 0.6433 GB, free: 1.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002472/0.8261, allocations: 0.8419 MB / 0.6441 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.8262, allocations: 8 kB / 0.6441 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.8262, allocations: 15.95 kB / 0.6441 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/0.8287, allocations: 320.8 kB / 0.6445 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.8296, allocations: 123.8 kB / 0.6446 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.8316, allocations: 0.9308 MB / 0.6455 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.8327, allocations: 51.86 kB / 0.6455 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.8329, allocations: 68.05 kB / 0.6456 GB, free: 15.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005637/0.8335, allocations: 237.6 kB / 0.6458 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.8337, allocations: 67.16 kB / 0.6459 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.8363, allocations: 0.6857 MB / 0.6466 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8364, allocations: 4 kB / 0.6466 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.8364, allocations: 3.953 kB / 0.6466 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.8364, allocations: 3.984 kB / 0.6466 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.8397, allocations: 1.257 MB / 0.6478 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.8398, allocations: 0 / 0.6478 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/0.8419, allocations: 211.8 kB / 0.648 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/0.8421, allocations: 24.84 kB / 0.648 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/0.8422, allocations: 20.11 kB / 0.648 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/0.8453, allocations: 2.684 MB / 0.6507 GB, free: 9.539 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.8453, allocations: 4.031 kB / 0.6507 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.8476, allocations: 0.8535 MB / 0.6515 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.8482, allocations: 188.2 kB / 0.6517 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/0.8483, allocations: 15.98 kB / 0.6517 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.8491, allocations: 23.97 kB / 0.6517 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.8493, allocations: 40.02 kB / 0.6518 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8494, allocations: 43.98 kB / 0.6518 GB, free: 8.301 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008631/0.8503, allocations: 427 kB / 0.6522 GB, free: 7.887 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8503, allocations: 3.938 kB / 0.6522 GB, free: 7.883 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001634/0.852, allocations: 295.9 kB / 0.6525 GB, free: 7.594 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004179/0.8562, allocations: 1.924 MB / 0.6544 GB, free: 5.617 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.8584, allocations: 0.547 MB / 0.6549 GB, free: 5.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.8584, allocations: 7.859 kB / 0.6549 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.8603, allocations: 403.2 kB / 0.6553 GB, free: 4.656 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.8634, allocations: 331.1 kB / 0.6556 GB, free: 4.336 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/0.8792, allocations: 10.88 MB / 0.6662 GB, free: 9.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008245/0.8801, allocations: 0.9377 MB / 0.6672 GB, free: 8.215 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.8812, allocations: 287.3 kB / 0.6674 GB, free: 7.934 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8812, allocations: 0 / 0.6674 GB, free: 7.934 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.398/4.28, allocations: 19.87 MB / 0.6868 GB, free: 4.066 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat