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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 283.9 kB / 303 MB, free: 3.566 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.121/1.121, allocations: 180.9 MB / 0.5262 GB, free: 2.738 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 99.83 kB / 0.7247 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6207/0.6235, allocations: 94.16 MB / 0.8167 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002074/0.6256, allocations: 1.345 MB / 0.818 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.8105, allocations: 148.5 MB / 0.963 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.8106, allocations: 0 / 0.963 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.8106, allocations: 15.86 kB / 0.9631 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.8107, allocations: 15.91 kB / 0.9631 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.8117, allocations: 338.6 kB / 0.9634 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.8118, allocations: 67.81 kB / 0.9635 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.8119, allocations: 0 / 0.9635 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.8119, allocations: 35.84 kB / 0.9635 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.812, allocations: 35.89 kB / 0.9635 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.812, allocations: 0 / 0.9635 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.8128, allocations: 434.8 kB / 0.9639 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.8129, allocations: 19.86 kB / 0.964 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.8129, allocations: 27.92 kB / 0.964 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.8133, allocations: 158.4 kB / 0.9641 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8133, allocations: 0 / 0.9641 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8133, allocations: 4 kB / 0.9641 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8133, allocations: 0 / 0.9641 GB, free: 9.684 MB / 0.7012 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.0005017/0.8138, allocations: 391.1 kB / 0.9645 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.8138, allocations: 8.031 kB / 0.9645 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.8138, allocations: 38.73 kB / 0.9646 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.8142, allocations: 36.86 kB / 0.9646 GB, free: 9.164 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.8144, allocations: 180 kB / 0.9648 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.8144, allocations: 12 kB / 0.9648 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.8144, allocations: 7.984 kB / 0.9648 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.8146, allocations: 73.66 kB / 0.9649 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8146, allocations: 0 / 0.9649 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8146, allocations: 4 kB / 0.9649 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8146, allocations: 7.984 kB / 0.9649 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.509e-05/0.8147, allocations: 43.95 kB / 0.9649 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.8149, allocations: 189.5 kB / 0.9651 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.8151, allocations: 82.55 kB / 0.9652 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.8152, allocations: 32.94 kB / 0.9652 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.8154, allocations: 174.2 kB / 0.9654 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.8155, allocations: 38.89 kB / 0.9654 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.8155, allocations: 0 / 0.9654 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001349/0.8168, allocations: 0.5513 MB / 0.9659 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.8169, allocations: 55.34 kB / 0.966 GB, free: 7.516 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.666e-05/0.817, allocations: 105.8 kB / 0.9661 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.817, allocations: 29.7 kB / 0.9661 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.817, allocations: 88.52 kB / 0.9662 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.8171, allocations: 67.39 kB / 0.9663 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.8172, allocations: 37.7 kB / 0.9663 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8173, allocations: 322.8 kB / 0.9666 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.8174, allocations: 31.98 kB / 0.9666 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.8175, allocations: 79.47 kB / 0.9667 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.8176, allocations: 119.3 kB / 0.9668 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.8176, allocations: 0 / 0.9668 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002361/0.8179, allocations: 157.5 kB / 0.967 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8179, allocations: 9.719 kB / 0.967 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8179, allocations: 3.938 kB / 0.967 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8179, allocations: 4 kB / 0.967 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.8181, allocations: 31.98 kB / 0.967 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.8181, allocations: 7.938 kB / 0.967 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.8181, allocations: 8 kB / 0.967 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.8182, allocations: 8 kB / 0.9671 GB, free: 6.363 MB / 0.7012 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.0001224/0.8183, allocations: 121.8 kB / 0.9672 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.8183, allocations: 7.953 kB / 0.9672 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.8184, allocations: 16.44 kB / 0.9672 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8184, allocations: 4 kB / 0.9672 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.8184, allocations: 7.922 kB / 0.9672 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8184, allocations: 0 / 0.9672 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.8186, allocations: 197.6 kB / 0.9674 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8186, allocations: 0 / 0.9674 GB, free: 5.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.8188, allocations: 43.92 kB / 0.9674 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8188, allocations: 0 / 0.9674 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.8188, allocations: 0 / 0.9674 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8188, allocations: 0 / 0.9674 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8188, allocations: 7.938 kB / 0.9674 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.8191, allocations: 205 kB / 0.9676 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.788e-05/0.8192, allocations: 89.05 kB / 0.9677 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.8192, allocations: 12.06 kB / 0.9677 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.8193, allocations: 4 kB / 0.9677 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.8193, allocations: 19.86 kB / 0.9678 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.8194, allocations: 11.92 kB / 0.9678 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.8194, allocations: 79.28 kB / 0.9678 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.8194, allocations: 0 / 0.9678 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002245/0.8196, allocations: 28 kB / 0.9679 GB, free: 5.434 MB / 0.7012 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.0006452/0.8203, allocations: 0.761 MB / 0.9686 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.8205, allocations: 100.2 kB / 0.9687 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8205, allocations: 4 kB / 0.9687 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.8206, allocations: 43.92 kB / 0.9688 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.8209, allocations: 27.86 kB / 0.9688 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.8228, allocations: 1.806 MB / 0.9705 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.8231, allocations: 0.7047 MB / 0.9712 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.8232, allocations: 20.62 kB / 0.9713 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.8233, allocations: 27.52 kB / 0.9713 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of SimCode: time 3.3e-07/0.8233, allocations: 7.938 kB / 0.9713 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.8489, allocations: 2.459 MB / 0.9737 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.837, allocations: 1.172 kB / 0.9737 GB, free: 15.42 MB / 0.7169 GB " [Timeout remaining time 651] (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: 12.830400643404573] Failed to read output from testmodel.py, exit status != 0: 8.90902068419382 8.924397527 8.108189928 Calling exit ...