Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001815/0.001815, allocations: 108.4 kB / 16.45 MB, free: 6.035 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.00144/0.00144, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.083/1.083, allocations: 175.8 MB / 478.5 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 60.3 kB / 0.6652 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1927, allocations: 94.54 MB / 0.7575 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002652/0.1954, allocations: 1.338 MB / 0.7588 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5803/0.7757, allocations: 148.5 MB / 0.9038 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.7758, allocations: 4 kB / 0.9038 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.7758, allocations: 7.922 kB / 0.9039 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.7759, allocations: 11.92 kB / 0.9039 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.777, allocations: 334.6 kB / 0.9042 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.7771, allocations: 63.77 kB / 0.9042 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.7771, allocations: 11.66 kB / 0.9043 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.7772, allocations: 31.91 kB / 0.9043 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.7773, allocations: 43.81 kB / 0.9043 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.7773, allocations: 4 kB / 0.9043 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.7781, allocations: 426.8 kB / 0.9047 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.7782, allocations: 11.98 kB / 0.9047 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.7782, allocations: 35.84 kB / 0.9048 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.7786, allocations: 161.8 kB / 0.9049 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7786, allocations: 0 / 0.9049 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7786, allocations: 0 / 0.9049 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7786, allocations: 0 / 0.9049 GB, free: 1.234 MB / 0.6856 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.0005247/0.7791, allocations: 395 kB / 0.9053 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7791, allocations: 9.062 kB / 0.9053 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.7792, allocations: 38.75 kB / 0.9054 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.7796, allocations: 36.84 kB / 0.9054 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.7797, allocations: 172.1 kB / 0.9056 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.7797, allocations: 8 kB / 0.9056 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.7798, allocations: 15.94 kB / 0.9056 GB, free: 492 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.7799, allocations: 77.64 kB / 0.9057 GB, free: 408 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.78, allocations: 0 / 0.9057 GB, free: 408 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.78, allocations: 0 / 0.9057 GB, free: 408 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.78, allocations: 0 / 0.9057 GB, free: 408 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.7801, allocations: 47.95 kB / 0.9057 GB, free: 360 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.7803, allocations: 193.4 kB / 0.9059 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.7805, allocations: 94.62 kB / 0.906 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.7806, allocations: 24.89 kB / 0.906 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.7808, allocations: 178.2 kB / 0.9062 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.7809, allocations: 30.56 kB / 0.9062 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.7809, allocations: 4 kB / 0.9062 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001372/0.7822, allocations: 0.5458 MB / 0.9067 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.7823, allocations: 55.41 kB / 0.9068 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.7824, allocations: 105.8 kB / 0.9069 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.7824, allocations: 29.7 kB / 0.9069 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.7824, allocations: 80.52 kB / 0.907 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.451e-05/0.7825, allocations: 75.36 kB / 0.9071 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.7826, allocations: 45.7 kB / 0.9071 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7827, allocations: 314.8 kB / 0.9074 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.7828, allocations: 36.59 kB / 0.9074 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.7829, allocations: 78.23 kB / 0.9075 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.7831, allocations: 120.2 kB / 0.9076 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.7831, allocations: 0 / 0.9076 GB, free: 14.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002708/0.7834, allocations: 155 kB / 0.9078 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7834, allocations: 4 kB / 0.9078 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7834, allocations: 4 kB / 0.9078 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7834, allocations: 0 / 0.9078 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.7836, allocations: 39.92 kB / 0.9078 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7836, allocations: 7.938 kB / 0.9078 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.7836, allocations: 8 kB / 0.9078 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.7837, allocations: 11.98 kB / 0.9079 GB, free: 13.92 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.0001108/0.7838, allocations: 121.8 kB / 0.908 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.7838, allocations: 11.95 kB / 0.908 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.7838, allocations: 20.38 kB / 0.908 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7838, allocations: 0 / 0.908 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7839, allocations: 8.625 kB / 0.908 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.7839, allocations: 4 kB / 0.908 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.7841, allocations: 189.6 kB / 0.9082 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7841, allocations: 4 kB / 0.9082 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.7843, allocations: 43.47 kB / 0.9082 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7843, allocations: 0 / 0.9082 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7843, allocations: 8 kB / 0.9082 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7843, allocations: 0 / 0.9082 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.7843, allocations: 3.938 kB / 0.9082 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.7846, allocations: 203 kB / 0.9084 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.7847, allocations: 97.05 kB / 0.9085 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.7847, allocations: 3.984 kB / 0.9085 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.7848, allocations: 12 kB / 0.9086 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.7849, allocations: 11.92 kB / 0.9086 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.7849, allocations: 12 kB / 0.9086 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.7849, allocations: 75.28 kB / 0.9086 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.7849, allocations: 0 / 0.9086 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000228/0.7851, allocations: 28 kB / 0.9087 GB, free: 12.99 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.0007006/0.7858, allocations: 0.747 MB / 0.9094 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.7861, allocations: 103.9 kB / 0.9095 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7861, allocations: 0 / 0.9095 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.7862, allocations: 51.91 kB / 0.9096 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.7864, allocations: 19.94 kB / 0.9096 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.7887, allocations: 1.827 MB / 0.9114 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.7891, allocations: 0.6969 MB / 0.912 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.7892, allocations: 20.62 kB / 0.9121 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.7893, allocations: 27.44 kB / 0.9121 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of SimCode: time 7.61e-07/0.7893, allocations: 0 / 0.9121 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.8172, allocations: 2.449 MB / 0.9145 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/9.173, allocations: 3.938 kB / 0.9145 GB, free: 6.98 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.096959301270545] Failed to read output from testmodel.py, exit status != 0: 9.24493727274239 9.268810635 8.485609414 Calling exit ...