Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.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.00125/0.00125, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001429/0.001429, allocations: 213.5 kB / 23.04 MB, free: 5.078 MB / 14.72 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 1.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.002441/0.002441, allocations: 282.9 kB / 313.5 MB, free: 2.805 MB / 238.1 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 1.199/1.199, allocations: 180.6 MB / 0.5377 GB, free: 12.98 MB / 382.1 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.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 98.53 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1741, allocations: 95.38 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.00257/0.1767, allocations: 1.36 MB / 0.8348 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5727/0.7494, allocations: 151.4 MB / 0.9827 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.7494, allocations: 0 / 0.9827 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.192e-05/0.7495, allocations: 5.938 kB / 0.9827 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.7496, allocations: 21.59 kB / 0.9827 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.7505, allocations: 332.4 kB / 0.983 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.7507, allocations: 68.81 kB / 0.9831 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.638e-05/0.7507, allocations: 4.938 kB / 0.9831 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.7507, allocations: 33.62 kB / 0.9831 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.58e-05/0.7508, allocations: 36.89 kB / 0.9831 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.7508, allocations: 3.344 kB / 0.9831 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007804/0.7516, allocations: 445.3 kB / 0.9836 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.7517, allocations: 16.66 kB / 0.9836 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.7517, allocations: 29.58 kB / 0.9836 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.752, allocations: 157.8 kB / 0.9838 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.752, allocations: 1.094 kB / 0.9838 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.752, allocations: 4.969 kB / 0.9838 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.752, allocations: 4.406 kB / 0.9838 GB, free: 3.594 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005306/0.7526, allocations: 315.2 kB / 0.9841 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7526, allocations: 10.66 kB / 0.9841 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.7526, allocations: 2.5 kB / 0.9841 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.7526, allocations: 37.77 kB / 0.9841 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003958/0.753, allocations: 33.98 kB / 0.9842 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7531, allocations: 113.5 kB / 0.9843 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7532, allocations: 6.938 kB / 0.9843 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.7532, allocations: 15.02 kB / 0.9843 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.7534, allocations: 81.94 kB / 0.9844 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7534, allocations: 1.75 kB / 0.9844 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7534, allocations: 1.031 kB / 0.9844 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.7534, allocations: 3.094 kB / 0.9844 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.7535, allocations: 45.91 kB / 0.9844 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.7537, allocations: 155.1 kB / 0.9846 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.7539, allocations: 88.53 kB / 0.9846 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.7539, allocations: 29.88 kB / 0.9847 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.7541, allocations: 23.55 kB / 0.9847 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7542, allocations: 35.02 kB / 0.9847 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.7542, allocations: 1.688 kB / 0.9847 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001375/0.7555, allocations: 488.9 kB / 0.9852 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.7556, allocations: 54.58 kB / 0.9852 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.7557, allocations: 99.31 kB / 0.9853 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.7557, allocations: 31.92 kB / 0.9854 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.7558, allocations: 81.45 kB / 0.9855 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.7558, allocations: 77.52 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.7559, allocations: 39 kB / 0.9856 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7561, allocations: 323 kB / 0.9859 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.846e-05/0.7561, allocations: 36.83 kB / 0.9859 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.7562, allocations: 72.03 kB / 0.986 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.7564, allocations: 121.6 kB / 0.9861 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.7564, allocations: 0.7812 kB / 0.9861 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002717/0.7567, allocations: 157.8 kB / 0.9862 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.7567, allocations: 5.688 kB / 0.9862 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7567, allocations: 0.9688 kB / 0.9862 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.7567, allocations: 3.625 kB / 0.9863 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.7569, allocations: 38.78 kB / 0.9863 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.7569, allocations: 2.562 kB / 0.9863 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.752e-05/0.757, allocations: 8.75 kB / 0.9863 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.757, allocations: 10.48 kB / 0.9863 GB, free: 17.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001287/0.7571, allocations: 124.1 kB / 0.9864 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.7571, allocations: 9.141 kB / 0.9864 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.7572, allocations: 20.62 kB / 0.9865 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7572, allocations: 1.844 kB / 0.9865 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7572, allocations: 1.844 kB / 0.9865 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7572, allocations: 3.938 kB / 0.9865 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.7574, allocations: 167.3 kB / 0.9866 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7574, allocations: 0.875 kB / 0.9866 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.7576, allocations: 41.72 kB / 0.9867 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.7576, allocations: 0.9688 kB / 0.9867 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7576, allocations: 3.297 kB / 0.9867 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7576, allocations: 1.844 kB / 0.9867 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7576, allocations: 0.75 kB / 0.9867 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.758, allocations: 220.8 kB / 0.9869 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.758, allocations: 21.19 kB / 0.9869 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.7581, allocations: 4.344 kB / 0.9869 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.7582, allocations: 9.156 kB / 0.9869 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.7582, allocations: 11.72 kB / 0.9869 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7582, allocations: 11.72 kB / 0.9869 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.7583, allocations: 81.97 kB / 0.987 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7583, allocations: 0.875 kB / 0.987 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002244/0.7585, allocations: 26.62 kB / 0.987 GB, free: 17.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0005906/0.7591, allocations: 0.7501 MB / 0.9878 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.7593, allocations: 100.5 kB / 0.9879 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7593, allocations: 0.9375 kB / 0.9879 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.7593, allocations: 52.38 kB / 0.9879 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.7596, allocations: 14.19 kB / 0.9879 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.7618, allocations: 1.83 MB / 0.9897 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.7621, allocations: 0.7046 MB / 0.9904 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.7622, allocations: 20.11 kB / 0.9904 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.7623, allocations: 25 kB / 0.9905 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.7623, allocations: 1 kB / 0.9905 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.7868, allocations: 2.684 MB / 0.9931 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.24, allocations: 14.78 kB / 0.9931 GB, free: 14.59 MB / 0.7325 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.28938376903534] Failed to read output from testmodel.py, exit status != 0: 11.395879529998638 11.418210169 10.662040693 Calling exit ...