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.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.0008549/0.0008549, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009819/0.0009819, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.9452/0.9452, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7819/0.7819, allocations: 203.8 MB / 0.5042 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: 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.0009003/0.0009003, allocations: 67.05 kB / 0.7181 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5508, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002207/0.553, allocations: 1.322 MB / 0.8191 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1497/0.7027, allocations: 130.1 MB / 0.9461 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.7028, allocations: 0 / 0.9461 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.673e-05/0.7028, allocations: 7.922 kB / 0.9461 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.703, allocations: 15.91 kB / 0.9461 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.7046, allocations: 333.1 kB / 0.9464 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.7047, allocations: 67.7 kB / 0.9465 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.7048, allocations: 15.64 kB / 0.9465 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.7048, allocations: 27.97 kB / 0.9465 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.705, allocations: 35.83 kB / 0.9465 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.705, allocations: 7.938 kB / 0.9466 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.7059, allocations: 358.9 kB / 0.9469 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.7059, allocations: 15.98 kB / 0.9469 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.706, allocations: 27.91 kB / 0.9469 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.7064, allocations: 161.9 kB / 0.9471 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.7064, allocations: 0 / 0.9471 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.418e-06/0.7064, allocations: 0 / 0.9471 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.7064, allocations: 0 / 0.9471 GB, free: 0.7891 MB / 0.7136 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.0005493/0.707, allocations: 310 kB / 0.9474 GB, free: 468 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.707, allocations: 8.031 kB / 0.9474 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.7071, allocations: 42.73 kB / 0.9474 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/0.7074, allocations: 36.8 kB / 0.9475 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.7075, allocations: 122.2 kB / 0.9476 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.7075, allocations: 8 kB / 0.9476 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.7076, allocations: 15.95 kB / 0.9476 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.7078, allocations: 202.2 kB / 0.9478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7078, allocations: 0 / 0.9478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.7079, allocations: 0 / 0.9478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.7079, allocations: 0 / 0.9478 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.708, allocations: 51.95 kB / 0.9479 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.7081, allocations: 152.7 kB / 0.948 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.7083, allocations: 78.55 kB / 0.9481 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.7084, allocations: 36.92 kB / 0.9481 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.7086, allocations: 24.3 kB / 0.9481 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.7086, allocations: 38.56 kB / 0.9482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.7086, allocations: 3.938 kB / 0.9482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.001199/0.7098, allocations: 488.2 kB / 0.9486 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.7099, allocations: 55.41 kB / 0.9487 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.7099, allocations: 105.8 kB / 0.9488 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.71, allocations: 29.7 kB / 0.9488 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.71, allocations: 80.52 kB / 0.9489 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.71, allocations: 71.38 kB / 0.949 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.7101, allocations: 45.7 kB / 0.949 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7102, allocations: 318.8 kB / 0.9493 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.7102, allocations: 35.98 kB / 0.9493 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.7103, allocations: 64.34 kB / 0.9494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.7105, allocations: 127.3 kB / 0.9495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7105, allocations: 0 / 0.9495 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001808/0.7106, allocations: 157.5 kB / 0.9497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7107, allocations: 4 kB / 0.9497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7107, allocations: 3.984 kB / 0.9497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.7107, allocations: 4 kB / 0.9497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7108, allocations: 35.92 kB / 0.9497 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.7108, allocations: 7.938 kB / 0.9497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.7109, allocations: 4 kB / 0.9497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.7109, allocations: 8 kB / 0.9497 GB, free: 13.8 MB / 0.7292 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 9.192e-05/0.711, allocations: 126.4 kB / 0.9499 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.711, allocations: 7.953 kB / 0.9499 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/0.711, allocations: 16.59 kB / 0.9499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.711, allocations: 4 kB / 0.9499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.711, allocations: 7.938 kB / 0.9499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.7111, allocations: 3.984 kB / 0.9499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.7112, allocations: 156.7 kB / 0.9501 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7112, allocations: 0 / 0.9501 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.7113, allocations: 39.92 kB / 0.9501 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.7113, allocations: 0 / 0.9501 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.7114, allocations: 12 kB / 0.9501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7114, allocations: 0 / 0.9501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7114, allocations: 7.922 kB / 0.9501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.7116, allocations: 202.2 kB / 0.9503 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.7117, allocations: 16.05 kB / 0.9503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7117, allocations: 0 / 0.9503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.7118, allocations: 15.92 kB / 0.9503 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.7118, allocations: 15.88 kB / 0.9503 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.7118, allocations: 8 kB / 0.9504 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.7119, allocations: 83.22 kB / 0.9504 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7119, allocations: 4.094 kB / 0.9504 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001705/0.712, allocations: 24 kB / 0.9505 GB, free: 13 MB / 0.7292 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.0005446/0.7126, allocations: 0.7425 MB / 0.9512 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.7128, allocations: 101.2 kB / 0.9513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7128, allocations: 0 / 0.9513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.228e-05/0.7128, allocations: 55.86 kB / 0.9513 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.7132, allocations: 14.47 kB / 0.9514 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.715, allocations: 1.832 MB / 0.9531 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.7151, allocations: 83.98 kB / 0.9532 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.7152, allocations: 28.62 kB / 0.9532 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.7152, allocations: 23.44 kB / 0.9533 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of SimCode: time 1.572e-06/0.7152, allocations: 0 / 0.9533 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.7392, allocations: 2.983 MB / 0.9562 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/7.568, allocations: 4.859 kB / 0.9562 GB, free: 7.105 MB / 0.7292 GB " [Timeout remaining time 652] (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: 10.456237129867077] Failed to read output from testmodel.py, exit status != 0: 7.648037524428219 7.659903963 6.951288206 Calling exit ...