Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008185, allocations: 92.86 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 185.5 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2095/0.2095, allocations: 44.23 MB / 337.2 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4032/0.5265, allocations: 123.2 MB / 0.5809 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004671/0.5312, allocations: 4.343 MB / 0.5852 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.5314, allocations: 4 kB / 0.5852 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.5317, allocations: 43.72 kB / 0.5852 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.5331, allocations: 0.5907 MB / 0.5858 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.5335, allocations: 155.6 kB / 0.5859 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.5341, allocations: 386.1 kB / 0.5863 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.5342, allocations: 17.69 kB / 0.5863 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.5344, allocations: 159.4 kB / 0.5865 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.5347, allocations: 187.4 kB / 0.5867 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.5347, allocations: 4 kB / 0.5867 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.5359, allocations: 0.5966 MB / 0.5872 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.536, allocations: 47.8 kB / 0.5873 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.002e-05/0.5361, allocations: 65.58 kB / 0.5874 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.5365, allocations: 289.6 kB / 0.5876 GB, free: 444 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.5365, allocations: 0 / 0.5876 GB, free: 444 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5365, allocations: 0 / 0.5876 GB, free: 444 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.5365, allocations: 0 / 0.5876 GB, free: 444 kB / 414.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.0009497/0.5375, allocations: 0.5507 MB / 0.5882 GB, free: 15.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.5376, allocations: 12.03 kB / 0.5882 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.963e-05/0.5376, allocations: 62.53 kB / 0.5882 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.5378, allocations: 23.81 kB / 0.5883 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.538, allocations: 222.8 kB / 0.5885 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5381, allocations: 131.3 kB / 0.5886 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.5382, allocations: 20 kB / 0.5886 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.5386, allocations: 314.8 kB / 0.5889 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5387, allocations: 7.938 kB / 0.5889 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5387, allocations: 11.98 kB / 0.5889 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.5387, allocations: 12.88 kB / 0.589 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.5395, allocations: 0.7391 MB / 0.5897 GB, free: 14.2 MB / 430.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.001389/0.5409, allocations: 1.226 MB / 0.5909 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.5413, allocations: 171.7 kB / 0.591 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5415, allocations: 85.48 kB / 0.5911 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002327/0.5438, allocations: 2.699 MB / 0.5937 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5439, allocations: 42.5 kB / 0.5938 GB, free: 9.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.5439, allocations: 0 / 0.5938 GB, free: 9.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006562/0.5446, allocations: 208.9 kB / 0.594 GB, free: 9.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.5446, allocations: 59.34 kB / 0.594 GB, free: 9.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.5448, allocations: 214.9 kB / 0.5943 GB, free: 8.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.5449, allocations: 29.7 kB / 0.5943 GB, free: 8.797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.545, allocations: 210.8 kB / 0.5945 GB, free: 8.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.5451, allocations: 59.33 kB / 0.5945 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.5451, allocations: 12 kB / 0.5945 GB, free: 8.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5452, allocations: 326.8 kB / 0.5949 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.5453, allocations: 44.84 kB / 0.5949 GB, free: 8.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.5456, allocations: 328 kB / 0.5952 GB, free: 7.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.5458, allocations: 107.8 kB / 0.5953 GB, free: 7.578 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5458, allocations: 4 kB / 0.5953 GB, free: 7.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005269/0.5463, allocations: 376.8 kB / 0.5957 GB, free: 7.199 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5463, allocations: 11.44 kB / 0.5957 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5464, allocations: 8 kB / 0.5957 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.5464, allocations: 16 kB / 0.5957 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.5467, allocations: 111.8 kB / 0.5958 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.5467, allocations: 19.92 kB / 0.5958 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.547, allocations: 23.95 kB / 0.5959 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.547, allocations: 28 kB / 0.5959 GB, free: 6.988 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.5472, allocations: 150.1 kB / 0.596 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.5472, allocations: 23.81 kB / 0.5961 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.5475, allocations: 162.3 kB / 0.5962 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5475, allocations: 0 / 0.5962 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5476, allocations: 4 kB / 0.5962 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5476, allocations: 0 / 0.5962 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.5481, allocations: 446.3 kB / 0.5966 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5481, allocations: 0 / 0.5966 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5483, allocations: 31.92 kB / 0.5967 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5483, allocations: 0 / 0.5967 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.5483, allocations: 8 kB / 0.5967 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.5483, allocations: 3.953 kB / 0.5967 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5483, allocations: 3.984 kB / 0.5967 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.5486, allocations: 221 kB / 0.5969 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.5487, allocations: 100.9 kB / 0.597 GB, free: 5.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.5487, allocations: 3.984 kB / 0.597 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.5489, allocations: 8 kB / 0.597 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.549, allocations: 19.88 kB / 0.597 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.549, allocations: 11.97 kB / 0.597 GB, free: 5.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.5491, allocations: 148.5 kB / 0.5972 GB, free: 5.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5491, allocations: 0 / 0.5972 GB, free: 5.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005001/0.5496, allocations: 95.98 kB / 0.5973 GB, free: 5.465 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006174/0.5503, allocations: 0.7957 MB / 0.598 GB, free: 4.633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.5506, allocations: 177.9 kB / 0.5982 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5506, allocations: 0 / 0.5982 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.5506, allocations: 35.92 kB / 0.5982 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.5511, allocations: 51.09 kB / 0.5983 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.553, allocations: 1.378 MB / 0.5996 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.5533, allocations: 0.7292 MB / 0.6004 GB, free: 2.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.5536, allocations: 54.86 kB / 0.6004 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.5537, allocations: 63.42 kB / 0.6005 GB, free: 1.941 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5537, allocations: 0 / 0.6005 GB, free: 1.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.5719, allocations: 4.812 MB / 0.6052 GB, free: 13.28 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.5722, allocations: 191.6 kB / 0.6054 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.531, allocations: 3.938 kB / 0.6054 GB, free: 13.03 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat