Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001275/0.001275, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001438/0.001438, allocations: 215.5 kB / 23.03 MB, free: 4.918 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8622/0.8622, allocations: 134 MB / 447.2 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001974/0.001974, allocations: 62.81 kB / 0.6192 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.188, allocations: 85.92 MB / 0.7031 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002925/0.191, allocations: 1.317 MB / 0.7044 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5226/0.7135, allocations: 130 MB / 0.8313 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.7136, allocations: 0 / 0.8313 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.971e-05/0.7136, allocations: 3.984 kB / 0.8313 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.7137, allocations: 14.16 kB / 0.8313 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.7148, allocations: 330.8 kB / 0.8317 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.715, allocations: 63.97 kB / 0.8317 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.715, allocations: 6.828 kB / 0.8317 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.7151, allocations: 23.61 kB / 0.8318 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.7152, allocations: 41.23 kB / 0.8318 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.7152, allocations: 2.656 kB / 0.8318 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.716, allocations: 380.6 kB / 0.8322 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.7161, allocations: 18.88 kB / 0.8322 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.7161, allocations: 25.05 kB / 0.8322 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.7165, allocations: 158.2 kB / 0.8324 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7165, allocations: 0 / 0.8324 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7165, allocations: 0 / 0.8324 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.7165, allocations: 0 / 0.8324 GB, free: 12.7 MB / 0.6075 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.000509/0.717, allocations: 307.4 kB / 0.8326 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7171, allocations: 14.66 kB / 0.8327 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.7171, allocations: 192 / 0.8327 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.7171, allocations: 41.52 kB / 0.8327 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004524/0.7176, allocations: 43.05 kB / 0.8327 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7177, allocations: 110.2 kB / 0.8328 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.7177, allocations: 10.91 kB / 0.8329 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.7177, allocations: 15.25 kB / 0.8329 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.718, allocations: 206.7 kB / 0.8331 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.718, allocations: 0 / 0.8331 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.7181, allocations: 4 kB / 0.8331 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.7181, allocations: 7.281 kB / 0.8331 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.7182, allocations: 46.48 kB / 0.8331 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.7184, allocations: 157 kB / 0.8333 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.7186, allocations: 78.64 kB / 0.8333 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.7186, allocations: 31.55 kB / 0.8334 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.7188, allocations: 27.59 kB / 0.8334 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.7189, allocations: 37.53 kB / 0.8334 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.7189, allocations: 336 / 0.8334 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001302/0.7202, allocations: 483.2 kB / 0.8339 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.7202, allocations: 53.62 kB / 0.834 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.7203, allocations: 109 kB / 0.8341 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.7203, allocations: 38.77 kB / 0.8341 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.7203, allocations: 84.64 kB / 0.8342 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.7204, allocations: 66.55 kB / 0.8342 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.7205, allocations: 43.11 kB / 0.8343 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7206, allocations: 322 kB / 0.8346 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.7207, allocations: 37.33 kB / 0.8346 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-05/0.7208, allocations: 66.09 kB / 0.8347 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.7209, allocations: 120.1 kB / 0.8348 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.7209, allocations: 0 / 0.8348 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002255/0.7212, allocations: 155.5 kB / 0.8349 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7212, allocations: 5.188 kB / 0.835 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7212, allocations: 0 / 0.835 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7212, allocations: 10.11 kB / 0.835 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.7214, allocations: 40.33 kB / 0.835 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7214, allocations: 6.562 kB / 0.835 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.7214, allocations: 4 kB / 0.835 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.7214, allocations: 4.906 kB / 0.835 GB, free: 10.38 MB / 0.6075 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.000102/0.7215, allocations: 123.6 kB / 0.8351 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.7216, allocations: 9.234 kB / 0.8351 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.7216, allocations: 20.45 kB / 0.8352 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7216, allocations: 2.312 kB / 0.8352 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7216, allocations: 3.938 kB / 0.8352 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.7216, allocations: 10.92 kB / 0.8352 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.7218, allocations: 151.2 kB / 0.8353 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7218, allocations: 0 / 0.8353 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.722, allocations: 44.2 kB / 0.8354 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.722, allocations: 0 / 0.8354 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.722, allocations: 3.938 kB / 0.8354 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.722, allocations: 2.812 kB / 0.8354 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.722, allocations: 5 kB / 0.8354 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.7224, allocations: 211.1 kB / 0.8356 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.7224, allocations: 9.547 kB / 0.8356 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.7224, allocations: 4.062 kB / 0.8356 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.7226, allocations: 12.94 kB / 0.8356 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.7226, allocations: 21.7 kB / 0.8356 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7226, allocations: 6.594 kB / 0.8356 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.7226, allocations: 81.91 kB / 0.8357 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5e-08/0.7226, allocations: 0 / 0.8357 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002293/0.7229, allocations: 25.56 kB / 0.8357 GB, free: 9.773 MB / 0.6075 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.0006196/0.7235, allocations: 0.7449 MB / 0.8365 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.7237, allocations: 101.2 kB / 0.8366 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7237, allocations: 3.938 kB / 0.8366 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.7238, allocations: 55.77 kB / 0.8366 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.724, allocations: 16.03 kB / 0.8366 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.726, allocations: 1.821 MB / 0.8384 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.7261, allocations: 89.47 kB / 0.8385 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.7262, allocations: 23.31 kB / 0.8385 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.7263, allocations: 19.69 kB / 0.8385 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.7263, allocations: 4 kB / 0.8385 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.751, allocations: 2.686 MB / 0.8412 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/12.02, allocations: 64 / 0.8412 GB, free: 5.59 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.76627699402161] Failed to read output from testmodel.py, exit status != 0: 12.18706097395625 12.213481883 11.492368188 Calling exit ...