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.0009683/0.0009683, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001071/0.001071, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9271/0.9271, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7611/0.7611, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.852e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001705/0.001723, allocations: 1.328 MB / 0.6193 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4983/0.5, allocations: 130.1 MB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.5001, allocations: 0 / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.5001, allocations: 6.047 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.5002, allocations: 16.84 kB / 0.7463 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.5011, allocations: 342.7 kB / 0.7467 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.5012, allocations: 62.41 kB / 0.7467 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.5012, allocations: 13.7 kB / 0.7467 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.5013, allocations: 42.25 kB / 0.7468 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5014, allocations: 28.62 kB / 0.7468 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5014, allocations: 2.844 kB / 0.7468 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/0.502, allocations: 380.6 kB / 0.7472 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.5021, allocations: 15.91 kB / 0.7472 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.5021, allocations: 26.7 kB / 0.7472 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.5024, allocations: 162.9 kB / 0.7474 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5024, allocations: 3.938 kB / 0.7474 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.816e-06/0.5024, allocations: 0 / 0.7474 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5024, allocations: 1.125 kB / 0.7474 GB, free: 18.75 MB / 0.6355 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.0004037/0.5028, allocations: 310.4 kB / 0.7477 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5029, allocations: 15.78 kB / 0.7477 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.5029, allocations: 38.92 kB / 0.7477 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.5032, allocations: 41.7 kB / 0.7478 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.139e-05/0.5033, allocations: 108.8 kB / 0.7479 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5033, allocations: 2.688 kB / 0.7479 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.5033, allocations: 14.81 kB / 0.7479 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.5035, allocations: 209.3 kB / 0.7481 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.5035, allocations: 0 / 0.7481 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5035, allocations: 5.219 kB / 0.7481 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5035, allocations: 6.062 kB / 0.7481 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.5036, allocations: 44.45 kB / 0.7481 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.5037, allocations: 154.2 kB / 0.7483 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.5039, allocations: 82.69 kB / 0.7484 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.5039, allocations: 26.5 kB / 0.7484 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.5041, allocations: 28.75 kB / 0.7484 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.5041, allocations: 37.06 kB / 0.7484 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.5041, allocations: 1.5 kB / 0.7485 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0009583/0.5051, allocations: 485.8 kB / 0.7489 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.5051, allocations: 54.69 kB / 0.749 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.5051, allocations: 97.23 kB / 0.7491 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.5051, allocations: 32.05 kB / 0.7491 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.427e-05/0.5052, allocations: 86.27 kB / 0.7492 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.5052, allocations: 72.27 kB / 0.7492 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.5052, allocations: 38.23 kB / 0.7493 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.969e-05/0.5053, allocations: 324.2 kB / 0.7496 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.5053, allocations: 34.91 kB / 0.7496 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.5054, allocations: 73.81 kB / 0.7497 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5055, allocations: 118.7 kB / 0.7498 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5055, allocations: 1.75 kB / 0.7498 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001595/0.5057, allocations: 156.6 kB / 0.75 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5057, allocations: 6.906 kB / 0.75 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5057, allocations: 1.375 kB / 0.75 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5057, allocations: 2.75 kB / 0.75 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.5059, allocations: 46.27 kB / 0.75 GB, free: 16.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5059, allocations: 7.531 kB / 0.75 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.5059, allocations: 5.375 kB / 0.75 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.5059, allocations: 5.5 kB / 0.75 GB, free: 16.61 MB / 0.6355 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 5.806e-05/0.506, allocations: 125 kB / 0.7501 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.506, allocations: 8.734 kB / 0.7502 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.807e-05/0.506, allocations: 18.45 kB / 0.7502 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.506, allocations: 1.375 kB / 0.7502 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.506, allocations: 1.375 kB / 0.7502 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.506, allocations: 5.312 kB / 0.7502 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.334e-05/0.5061, allocations: 157.4 kB / 0.7503 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5061, allocations: 2.172 kB / 0.7503 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5062, allocations: 42.45 kB / 0.7504 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5062, allocations: 1.375 kB / 0.7504 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5062, allocations: 1.938 kB / 0.7504 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5062, allocations: 0 / 0.7504 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5062, allocations: 2.125 kB / 0.7504 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.5065, allocations: 219.1 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.5065, allocations: 18.08 kB / 0.7506 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.5065, allocations: 1.156 kB / 0.7506 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.5066, allocations: 15.34 kB / 0.7506 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.5066, allocations: 12.73 kB / 0.7506 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5066, allocations: 9.047 kB / 0.7506 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.386e-05/0.5066, allocations: 77.06 kB / 0.7507 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5066, allocations: 1.406 kB / 0.7507 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00015/0.5068, allocations: 29.31 kB / 0.7507 GB, free: 16.05 MB / 0.6355 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.0003589/0.5072, allocations: 0.7445 MB / 0.7515 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.5073, allocations: 109.5 kB / 0.7516 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5073, allocations: 1.062 kB / 0.7516 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.5074, allocations: 48.22 kB / 0.7516 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5076, allocations: 16.42 kB / 0.7516 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5087, allocations: 1.722 MB / 0.7533 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.703e-05/0.5088, allocations: 82.09 kB / 0.7534 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.5089, allocations: 24.95 kB / 0.7534 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.5089, allocations: 25.06 kB / 0.7534 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.5089, allocations: 0 / 0.7534 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.5278, allocations: 3.119 MB / 0.7565 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.88, allocations: 11.23 kB / 0.7565 GB, free: 12.86 MB / 0.6355 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.7465890198946] Failed to read output from testmodel.py, exit status != 0: 7.960302691906691 7.977877564 7.472161352 Calling exit ...