Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0007857/0.0007857, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007797/0.0007797, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8528/0.8528, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001413/0.001413, allocations: 233.2 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6355/0.6355, allocations: 138.4 MB / 454.3 MB, free: 1.59 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6463 GB, free: 29.03 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.873e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001459/0.001478, allocations: 1.283 MB / 0.6475 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1027/0.1042, allocations: 129.1 MB / 0.7736 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.1042, allocations: 0 / 0.7736 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.1042, allocations: 7.922 kB / 0.7736 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.1043, allocations: 4 kB / 0.7736 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.1047, allocations: 87.44 kB / 0.7737 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.1048, allocations: 39.84 kB / 0.7737 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1048, allocations: 11.98 kB / 0.7737 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1049, allocations: 15.98 kB / 0.7737 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.1049, allocations: 19.91 kB / 0.7738 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.105, allocations: 0 / 0.7738 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.1052, allocations: 75.77 kB / 0.7738 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1052, allocations: 3.984 kB / 0.7738 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.1052, allocations: 15.98 kB / 0.7739 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1053, allocations: 71.75 kB / 0.7739 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1053, allocations: 0 / 0.7739 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1053, allocations: 0 / 0.7739 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1053, allocations: 0 / 0.7739 GB, free: 14.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003272/0.1057, allocations: 286.2 kB / 0.7742 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1057, allocations: 8.75 kB / 0.7742 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.1057, allocations: 34.75 kB / 0.7742 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.1059, allocations: 12.89 kB / 0.7743 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.837e-05/0.1059, allocations: 113.7 kB / 0.7744 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1059, allocations: 384 / 0.7744 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.106, allocations: 12.12 kB / 0.7744 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1061, allocations: 122.8 kB / 0.7745 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.1061, allocations: 0 / 0.7745 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1061, allocations: 4 kB / 0.7745 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1061, allocations: 7.984 kB / 0.7745 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.1061, allocations: 19.92 kB / 0.7745 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.1063, allocations: 128.8 kB / 0.7746 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/0.1064, allocations: 46.5 kB / 0.7747 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.1064, allocations: 20.78 kB / 0.7747 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.1064, allocations: 0 / 0.7747 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.1064, allocations: 38.5 kB / 0.7747 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1064, allocations: 0 / 0.7747 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005518/0.107, allocations: 297.3 kB / 0.775 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.107, allocations: 59.34 kB / 0.7751 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.107, allocations: 93.84 kB / 0.7752 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.107, allocations: 29.7 kB / 0.7752 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.1071, allocations: 84.14 kB / 0.7753 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1071, allocations: 39.59 kB / 0.7753 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.1071, allocations: 29.7 kB / 0.7754 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.1072, allocations: 318.8 kB / 0.7757 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.553e-05/0.1072, allocations: 19.98 kB / 0.7757 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.1073, allocations: 40.33 kB / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.1073, allocations: 62.23 kB / 0.7758 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1073, allocations: 0 / 0.7758 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.11e-05/0.1074, allocations: 97.56 kB / 0.7759 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1074, allocations: 8 kB / 0.7759 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1074, allocations: 0 / 0.7759 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1075, allocations: 0 / 0.7759 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.1075, allocations: 27.92 kB / 0.7759 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1075, allocations: 3.938 kB / 0.7759 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1076, allocations: 4 kB / 0.7759 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.1076, allocations: 4 kB / 0.7759 GB, free: 12.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 5.749e-05/0.1076, allocations: 122.4 kB / 0.776 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.1076, allocations: 4 kB / 0.776 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.1077, allocations: 11.97 kB / 0.776 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1077, allocations: 4 kB / 0.776 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1077, allocations: 0 / 0.776 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1077, allocations: 0 / 0.776 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.1079, allocations: 144.7 kB / 0.7762 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1079, allocations: 0 / 0.7762 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.108, allocations: 27.92 kB / 0.7762 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.108, allocations: 0 / 0.7762 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.108, allocations: 4 kB / 0.7762 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.108, allocations: 0 / 0.7762 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.108, allocations: 0 / 0.7762 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.1081, allocations: 145 kB / 0.7764 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.1082, allocations: 4 kB / 0.7764 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1082, allocations: 11.94 kB / 0.7764 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.1082, allocations: 3.984 kB / 0.7764 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.1082, allocations: 4 kB / 0.7764 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1083, allocations: 7.984 kB / 0.7764 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.1083, allocations: 79.28 kB / 0.7765 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1083, allocations: 96 / 0.7765 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001303/0.1084, allocations: 16 kB / 0.7765 GB, free: 11.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0003023/0.1087, allocations: 0.6709 MB / 0.7771 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1088, allocations: 56.28 kB / 0.7772 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1088, allocations: 0 / 0.7772 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.1088, allocations: 27.88 kB / 0.7772 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.109, allocations: 11.98 kB / 0.7772 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.1099, allocations: 1.39 MB / 0.7786 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.11, allocations: 71.33 kB / 0.7786 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.844e-05/0.11, allocations: 12.72 kB / 0.7787 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.1101, allocations: 16.5 kB / 0.7787 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.1101, allocations: 3.938 kB / 0.7787 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.1245, allocations: 2.366 MB / 0.781 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.405/6.529, allocations: 14.56 kB / 0.781 GB, free: 6.918 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.133166695944965] Failed to read output from testmodel.py, exit status != 0: 6.604847465641797 6.613801791 6.506497041 Calling exit ...