Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001378/0.001378, allocations: 106.5 kB / 16.4 MB, free: 6.504 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.001378/0.001379, allocations: 192.6 kB / 19.36 MB, free: 3.746 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.45/1.45, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 469.8 MB / 0.7491 GB, free: 2.996 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 1.073 GB, free: 152 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9739/0.9759, allocations: 159.1 MB / 1.229 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003392/0.9793, allocations: 1.342 MB / 1.23 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1912/1.171, allocations: 148.1 MB / 1.375 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/1.171, allocations: 0 / 1.375 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/1.171, allocations: 7.922 kB / 1.375 GB, free: 14.9 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/1.171, allocations: 11.94 kB / 1.375 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009746/1.172, allocations: 330.6 kB / 1.375 GB, free: 14.57 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000125/1.172, allocations: 59.83 kB / 1.375 GB, free: 14.51 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/1.172, allocations: 8 kB / 1.375 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/1.172, allocations: 35.84 kB / 1.375 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/1.172, allocations: 31.89 kB / 1.375 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/1.172, allocations: 8 kB / 1.375 GB, free: 14.43 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/1.173, allocations: 406.6 kB / 1.375 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/1.173, allocations: 19.91 kB / 1.375 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/1.173, allocations: 27.92 kB / 1.375 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/1.174, allocations: 157.8 kB / 1.376 GB, free: 13.83 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.174, allocations: 4 kB / 1.376 GB, free: 13.83 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.492e-06/1.174, allocations: 0 / 1.376 GB, free: 13.83 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.174, allocations: 0 / 1.376 GB, free: 13.83 MB / 1.092 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.0005556/1.174, allocations: 399 kB / 1.376 GB, free: 13.39 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.174, allocations: 8.031 kB / 1.376 GB, free: 13.38 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/1.174, allocations: 38.75 kB / 1.376 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/1.175, allocations: 32.89 kB / 1.376 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/1.175, allocations: 180 kB / 1.376 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.175, allocations: 8 kB / 1.376 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/1.175, allocations: 11.95 kB / 1.376 GB, free: 13.07 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/1.175, allocations: 73.64 kB / 1.376 GB, free: 12.99 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.175, allocations: 7.938 kB / 1.376 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.175, allocations: 4 kB / 1.376 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/1.175, allocations: 4 kB / 1.376 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/1.175, allocations: 43.95 kB / 1.376 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/1.175, allocations: 185.6 kB / 1.377 GB, free: 12.7 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/1.176, allocations: 90.62 kB / 1.377 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/1.176, allocations: 29.17 kB / 1.377 GB, free: 12.57 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/1.176, allocations: 186.1 kB / 1.377 GB, free: 12.36 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.176, allocations: 30.56 kB / 1.377 GB, free: 12.32 MB / 1.092 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/1.176, allocations: 0 / 1.377 GB, free: 12.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001445/1.177, allocations: 0.555 MB / 1.377 GB, free: 11.71 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/1.178, allocations: 55.41 kB / 1.377 GB, free: 11.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/1.178, allocations: 93.8 kB / 1.378 GB, free: 11.54 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.178, allocations: 33.7 kB / 1.378 GB, free: 11.5 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/1.178, allocations: 80.52 kB / 1.378 GB, free: 11.42 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/1.178, allocations: 75.38 kB / 1.378 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/1.178, allocations: 45.83 kB / 1.378 GB, free: 11.3 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.178, allocations: 314.8 kB / 1.378 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/1.178, allocations: 35.97 kB / 1.378 GB, free: 10.95 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/1.178, allocations: 71.41 kB / 1.378 GB, free: 10.86 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/1.178, allocations: 111.4 kB / 1.378 GB, free: 10.74 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/1.178, allocations: 4 kB / 1.378 GB, free: 10.74 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002466/1.179, allocations: 161.5 kB / 1.378 GB, free: 10.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.179, allocations: 4 kB / 1.378 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/1.179, allocations: 4 kB / 1.378 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.179, allocations: 0 / 1.378 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/1.179, allocations: 39.98 kB / 1.378 GB, free: 10.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.179, allocations: 3.938 kB / 1.378 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/1.179, allocations: 8 kB / 1.379 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.179, allocations: 7.984 kB / 1.379 GB, free: 10.51 MB / 1.092 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.0001069/1.179, allocations: 128.8 kB / 1.379 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/1.179, allocations: 11.95 kB / 1.379 GB, free: 10.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/1.179, allocations: 16.44 kB / 1.379 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.179, allocations: 0 / 1.379 GB, free: 10.35 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.179, allocations: 3.938 kB / 1.379 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.179, allocations: 0 / 1.379 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/1.179, allocations: 189.6 kB / 1.379 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.179, allocations: 0 / 1.379 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/1.18, allocations: 47.91 kB / 1.379 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.18, allocations: 0 / 1.379 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/1.18, allocations: 4 kB / 1.379 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/1.18, allocations: 4 kB / 1.379 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.18, allocations: 11.97 kB / 1.379 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/1.18, allocations: 207.2 kB / 1.379 GB, free: 9.824 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/1.18, allocations: 93.05 kB / 1.379 GB, free: 9.715 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/1.18, allocations: 8.047 kB / 1.379 GB, free: 9.707 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.18, allocations: 11.94 kB / 1.379 GB, free: 9.695 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/1.18, allocations: 11.92 kB / 1.379 GB, free: 9.684 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/1.18, allocations: 8 kB / 1.379 GB, free: 9.676 MB / 1.092 GB Notification: Performance of sorting global known variables: time 5.201e-05/1.18, allocations: 83.28 kB / 1.379 GB, free: 9.594 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.18, allocations: 0 / 1.379 GB, free: 9.594 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002162/1.181, allocations: 24 kB / 1.379 GB, free: 9.57 MB / 1.092 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.0006564/1.181, allocations: 0.7517 MB / 1.38 GB, free: 8.789 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002235/1.182, allocations: 116 kB / 1.38 GB, free: 8.676 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.182, allocations: 0 / 1.38 GB, free: 8.676 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/1.182, allocations: 55.91 kB / 1.38 GB, free: 8.621 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/1.182, allocations: 16.7 kB / 1.38 GB, free: 8.605 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/1.184, allocations: 1.822 MB / 1.382 GB, free: 6.688 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/1.184, allocations: 0.7047 MB / 1.383 GB, free: 5.957 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001024/1.185, allocations: 24.64 kB / 1.383 GB, free: 5.934 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/1.185, allocations: 23.44 kB / 1.383 GB, free: 5.91 MB / 1.092 GB Notification: Performance of SimCode: time 2.4e-07/1.185, allocations: 0 / 1.383 GB, free: 5.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/1.21, allocations: 2.425 MB / 1.385 GB, free: 3.555 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/9.541, allocations: 11.66 kB / 1.385 GB, free: 3.547 MB / 1.092 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.569494235794991] Failed to read output from testmodel.py, exit status != 0: 9.609042800962925 9.624387766 8.447906018 Calling exit ...