Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001505, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009861/0.0009863, allocations: 98.45 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.59e-05, allocations: 0 / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 51.49 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.31/18.44, allocations: 6.205 GB / 6.591 GB, free: 34.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/18.44, allocations: 74.91 kB / 6.591 GB, free: 34.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8698/19.31, allocations: 199.1 MB / 6.786 GB, free: 10.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.085e-06/19.31, allocations: 4 kB / 6.786 GB, free: 10.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/19.31, allocations: 4 kB / 6.786 GB, free: 10.85 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0106/19.32, allocations: 1.445 MB / 6.787 GB, free: 9.352 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/19.32, allocations: 12.03 kB / 6.787 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/19.32, allocations: 23.42 kB / 6.787 GB, free: 9.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/19.32, allocations: 214.8 kB / 6.787 GB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/19.32, allocations: 8 kB / 6.787 GB, free: 9.062 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/19.32, allocations: 8 kB / 6.787 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004427/19.32, allocations: 240.5 kB / 6.788 GB, free: 8.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/19.32, allocations: 237 kB / 6.788 GB, free: 8.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/19.32, allocations: 4 kB / 6.788 GB, free: 8.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/19.32, allocations: 3.953 kB / 6.788 GB, free: 8.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/19.32, allocations: 11.94 kB / 6.788 GB, free: 8.559 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001511/19.33, allocations: 0.6679 MB / 6.788 GB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/19.33, allocations: 209.3 kB / 6.789 GB, free: 7.617 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/19.33, allocations: 109.7 kB / 6.789 GB, free: 7.504 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.364/19.69, allocations: 12.47 MB / 6.801 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/19.69, allocations: 36.56 kB / 6.801 GB, free: 43.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 4.217e-06/19.69, allocations: 0 / 6.801 GB, free: 43.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002225/19.69, allocations: 0.5019 MB / 6.801 GB, free: 43.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/19.69, allocations: 82.86 kB / 6.802 GB, free: 43.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/19.69, allocations: 116.8 kB / 6.802 GB, free: 43.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/19.69, allocations: 28.02 kB / 6.802 GB, free: 43.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/19.69, allocations: 108.7 kB / 6.802 GB, free: 43.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/19.69, allocations: 121.6 kB / 6.802 GB, free: 43.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/19.69, allocations: 3.969 kB / 6.802 GB, free: 43.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/19.69, allocations: 324 kB / 6.802 GB, free: 42.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/19.69, allocations: 108.8 kB / 6.802 GB, free: 42.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/19.69, allocations: 171.6 kB / 6.802 GB, free: 42.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/19.69, allocations: 148.3 kB / 6.803 GB, free: 42.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/19.69, allocations: 0 / 6.803 GB, free: 42.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007662/19.7, allocations: 367.7 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/19.7, allocations: 5.812 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/19.7, allocations: 5.375 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/19.7, allocations: 3.188 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/19.7, allocations: 94.12 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/19.7, allocations: 2.906 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/19.7, allocations: 23.73 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/19.7, allocations: 15.89 kB / 6.803 GB, free: 42.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/19.7, allocations: 116.2 kB / 6.803 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006749/19.7, allocations: 317.8 kB / 6.804 GB, free: 42.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/19.7, allocations: 25.19 kB / 6.804 GB, free: 42.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/19.7, allocations: 204.9 kB / 6.804 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/19.7, allocations: 3.312 kB / 6.804 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/19.7, allocations: 0 / 6.804 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/19.7, allocations: 6.281 kB / 6.804 GB, free: 42.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/19.7, allocations: 0.6635 MB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/19.7, allocations: 1.875 kB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/19.7, allocations: 77.12 kB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/19.7, allocations: 7.594 kB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/19.7, allocations: 10.45 kB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/19.7, allocations: 7.656 kB / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/19.7, allocations: 0 / 6.804 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/19.7, allocations: 0.7084 MB / 6.805 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/19.7, allocations: 129.8 kB / 6.805 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/19.7, allocations: 1.625 kB / 6.805 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/19.7, allocations: 14.78 kB / 6.805 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/19.7, allocations: 25.52 kB / 6.805 GB, free: 41.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/19.7, allocations: 19.42 kB / 6.805 GB, free: 41.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.46e-05/19.7, allocations: 98.8 kB / 6.805 GB, free: 41.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/19.7, allocations: 0 / 6.805 GB, free: 41.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005942/19.71, allocations: 1.116 MB / 6.807 GB, free: 41.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01109/19.72, allocations: 3.217 MB / 6.81 GB, free: 40.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006311/19.72, allocations: 283.2 kB / 6.81 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/19.72, allocations: 0 / 6.81 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/19.72, allocations: 149.5 kB / 6.81 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/19.72, allocations: 88.8 kB / 6.81 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02844/19.75, allocations: 12.71 MB / 6.823 GB, free: 39.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/19.75, allocations: 0.7444 MB / 6.823 GB, free: 38.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005021/19.75, allocations: 87.08 kB / 6.823 GB, free: 38.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/19.75, allocations: 72.52 kB / 6.823 GB, free: 38.84 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/19.75, allocations: 2.625 kB / 6.823 GB, free: 38.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08978/19.84, allocations: 32.69 MB / 6.855 GB, free: 38.32 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/19.84, allocations: 159.8 kB / 6.856 GB, free: 38.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/22.76, allocations: 0 / 6.856 GB, free: 38.12 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)