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.0008515/0.0008515, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009604/0.0009604, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9907/0.9907, allocations: 230.6 MB / 256 MB, free: 3.449 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.8025/0.8025, allocations: 203.8 MB / 0.5042 GB, free: 0.7305 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.001358/0.001358, allocations: 67.89 kB / 0.7182 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6157/0.6171, allocations: 102 MB / 0.8178 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001892/0.6189, allocations: 1.352 MB / 0.8192 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.1444/0.7634, allocations: 151.4 MB / 0.967 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.7634, allocations: 0 / 0.967 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.198e-05/0.7635, allocations: 3.984 kB / 0.967 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.7636, allocations: 15.86 kB / 0.967 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.7645, allocations: 339.7 kB / 0.9674 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.7646, allocations: 63.77 kB / 0.9674 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.7646, allocations: 15.64 kB / 0.9674 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.7647, allocations: 27.92 kB / 0.9675 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.7648, allocations: 35.89 kB / 0.9675 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.7648, allocations: 4 kB / 0.9675 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.7654, allocations: 442.6 kB / 0.9679 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.7655, allocations: 23.91 kB / 0.968 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.7655, allocations: 23.92 kB / 0.968 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.7658, allocations: 161.9 kB / 0.9681 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7658, allocations: 0 / 0.9681 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7658, allocations: 0 / 0.9681 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7658, allocations: 0 / 0.9681 GB, free: 8.844 MB / 0.7448 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.0004123/0.7662, allocations: 318 kB / 0.9684 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7662, allocations: 9.469 kB / 0.9684 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.7663, allocations: 38.75 kB / 0.9685 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.7665, allocations: 32.89 kB / 0.9685 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.7666, allocations: 118.2 kB / 0.9686 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.7666, allocations: 7.938 kB / 0.9686 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.7667, allocations: 11.95 kB / 0.9686 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.7668, allocations: 81.58 kB / 0.9687 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.7668, allocations: 0 / 0.9687 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7668, allocations: 8 kB / 0.9687 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.7668, allocations: 0 / 0.9687 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.7669, allocations: 43.95 kB / 0.9688 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.7671, allocations: 160.7 kB / 0.9689 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.7672, allocations: 97.56 kB / 0.969 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.7672, allocations: 24.84 kB / 0.969 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.7674, allocations: 27.98 kB / 0.9691 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.7674, allocations: 30.89 kB / 0.9691 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.7674, allocations: 0 / 0.9691 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0008879/0.7683, allocations: 486.1 kB / 0.9696 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7683, allocations: 55.41 kB / 0.9696 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.107e-05/0.7684, allocations: 101.7 kB / 0.9697 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7684, allocations: 33.64 kB / 0.9697 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.7684, allocations: 80.52 kB / 0.9698 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.7685, allocations: 75.38 kB / 0.9699 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.7685, allocations: 45.83 kB / 0.9699 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.7686, allocations: 314.8 kB / 0.9702 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.7686, allocations: 35.97 kB / 0.9703 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.7687, allocations: 72.02 kB / 0.9703 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.7688, allocations: 115.3 kB / 0.9705 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7688, allocations: 0 / 0.9705 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001481/0.769, allocations: 157.5 kB / 0.9706 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.769, allocations: 4 kB / 0.9706 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.769, allocations: 4 kB / 0.9706 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.769, allocations: 0 / 0.9706 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.7691, allocations: 43.92 kB / 0.9707 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7691, allocations: 7.875 kB / 0.9707 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.697e-05/0.7691, allocations: 4 kB / 0.9707 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.7691, allocations: 8 kB / 0.9707 GB, free: 6.008 MB / 0.7448 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 6.69e-05/0.7692, allocations: 126.8 kB / 0.9708 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.7692, allocations: 15.95 kB / 0.9708 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.7693, allocations: 16.47 kB / 0.9708 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7693, allocations: 0 / 0.9708 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7693, allocations: 12.06 kB / 0.9708 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7693, allocations: 0 / 0.9708 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.7694, allocations: 160.7 kB / 0.971 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7694, allocations: 0 / 0.971 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7695, allocations: 35.98 kB / 0.971 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7695, allocations: 4 kB / 0.971 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.7695, allocations: 3.984 kB / 0.971 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7695, allocations: 7.938 kB / 0.971 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.7695, allocations: 3.938 kB / 0.971 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.7697, allocations: 208.4 kB / 0.9712 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.7697, allocations: 15.94 kB / 0.9713 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.7698, allocations: 4.062 kB / 0.9713 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7699, allocations: 11.98 kB / 0.9713 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.7699, allocations: 11.92 kB / 0.9713 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.7699, allocations: 15.94 kB / 0.9713 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.412e-05/0.7699, allocations: 79.28 kB / 0.9714 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7699, allocations: 0 / 0.9714 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000146/0.7701, allocations: 24 kB / 0.9714 GB, free: 5.199 MB / 0.7448 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.0003799/0.7704, allocations: 0.747 MB / 0.9721 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.7706, allocations: 99.89 kB / 0.9722 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7706, allocations: 4 kB / 0.9722 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.7707, allocations: 55.84 kB / 0.9723 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.7709, allocations: 15.94 kB / 0.9723 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.7723, allocations: 1.818 MB / 0.9741 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.7725, allocations: 0.7008 MB / 0.9748 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.494e-05/0.7726, allocations: 28.62 kB / 0.9748 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.7726, allocations: 23.44 kB / 0.9748 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.7726, allocations: 3.938 kB / 0.9748 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.7895, allocations: 2.649 MB / 0.9774 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.835/7.625, allocations: 10.88 kB / 0.9774 GB, free: 15.03 MB / 0.7605 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.687618408119306] Failed to read output from testmodel.py, exit status != 0: 7.701763855991885 7.711002737 6.943293566 Calling exit ...