Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.00113/0.00113, 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.001313/0.001313, allocations: 217.7 kB / 22.26 MB, free: 3.691 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 1.037/1.037, allocations: 230.6 MB / 256 MB, free: 9.816 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.8272/0.8272, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.001395/0.001395, allocations: 66.42 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6236, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001672/0.6252, allocations: 1.302 MB / 0.8191 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1577/0.7829, allocations: 150.3 MB / 0.9659 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.7829, allocations: 0 / 0.9659 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.783, allocations: 7.922 kB / 0.9659 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.783, allocations: 7.922 kB / 0.9659 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.7834, allocations: 95.56 kB / 0.966 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.7835, allocations: 27.92 kB / 0.966 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.7835, allocations: 7.984 kB / 0.966 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.7836, allocations: 15.94 kB / 0.9661 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.149e-05/0.7836, allocations: 23.91 kB / 0.9661 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.7836, allocations: 4 kB / 0.9661 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.7838, allocations: 79.81 kB / 0.9662 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.7839, allocations: 7.938 kB / 0.9662 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.7839, allocations: 15.94 kB / 0.9662 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.784, allocations: 65.92 kB / 0.9662 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.784, allocations: 0 / 0.9662 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.683e-06/0.784, allocations: 0 / 0.9662 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.784, allocations: 0 / 0.9662 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003612/0.7844, allocations: 286.1 kB / 0.9665 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7844, allocations: 8.031 kB / 0.9665 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.7845, allocations: 38.73 kB / 0.9666 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.7846, allocations: 8.938 kB / 0.9666 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.761e-05/0.7846, allocations: 110.3 kB / 0.9667 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.7847, allocations: 0 / 0.9667 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.7847, allocations: 15.94 kB / 0.9667 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.7848, allocations: 49.67 kB / 0.9667 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.7848, allocations: 0 / 0.9667 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.7848, allocations: 12 kB / 0.9668 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.7848, allocations: 3.938 kB / 0.9668 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.7849, allocations: 15.98 kB / 0.9668 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.785, allocations: 144.6 kB / 0.9669 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.7851, allocations: 42.56 kB / 0.967 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.7851, allocations: 16.86 kB / 0.967 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.7851, allocations: 0 / 0.967 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.7851, allocations: 38.56 kB / 0.967 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.7851, allocations: 7.938 kB / 0.967 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0005551/0.7857, allocations: 297.2 kB / 0.9673 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.7857, allocations: 51.41 kB / 0.9673 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.7858, allocations: 89.86 kB / 0.9674 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7858, allocations: 37.83 kB / 0.9675 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.958e-05/0.7858, allocations: 80.14 kB / 0.9675 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7858, allocations: 39.64 kB / 0.9676 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.7859, allocations: 25.72 kB / 0.9676 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.7859, allocations: 326.8 kB / 0.9679 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.786, allocations: 15.98 kB / 0.9679 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.786, allocations: 37.7 kB / 0.968 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.722e-05/0.7861, allocations: 61.64 kB / 0.968 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7861, allocations: 0 / 0.968 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.903e-05/0.7862, allocations: 90.31 kB / 0.9681 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.7862, allocations: 14.28 kB / 0.9681 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.7862, allocations: 80 / 0.9681 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.7862, allocations: 0 / 0.9681 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.7863, allocations: 23.98 kB / 0.9681 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7863, allocations: 3.984 kB / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.7863, allocations: 0 / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.7863, allocations: 7.938 kB / 0.9682 GB, free: 11.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.849e-05/0.7864, allocations: 117.8 kB / 0.9683 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.7864, allocations: 23.86 kB / 0.9683 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.7864, allocations: 11.84 kB / 0.9683 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.7864, allocations: 0 / 0.9683 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7864, allocations: 3.938 kB / 0.9683 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7864, allocations: 0 / 0.9683 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/0.7865, allocations: 148.7 kB / 0.9685 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.7865, allocations: 0 / 0.9685 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.7866, allocations: 20 kB / 0.9685 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.7866, allocations: 4 kB / 0.9685 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.7866, allocations: 4 kB / 0.9685 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7866, allocations: 3.984 kB / 0.9685 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7866, allocations: 0 / 0.9685 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.7867, allocations: 139.1 kB / 0.9686 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.7868, allocations: 7.984 kB / 0.9686 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.7868, allocations: 7.984 kB / 0.9686 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.7868, allocations: 8 kB / 0.9686 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.7868, allocations: 7.984 kB / 0.9686 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.7868, allocations: 4 kB / 0.9686 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.7869, allocations: 79.22 kB / 0.9687 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7869, allocations: 4 kB / 0.9687 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001348/0.787, allocations: 16 kB / 0.9687 GB, free: 10.62 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0002819/0.7873, allocations: 0.6672 MB / 0.9694 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.812e-05/0.7874, allocations: 51.92 kB / 0.9694 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7874, allocations: 0 / 0.9694 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.7874, allocations: 27.92 kB / 0.9695 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.7876, allocations: 10.41 kB / 0.9695 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.7888, allocations: 1.442 MB / 0.9709 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.789, allocations: 0.6851 MB / 0.9716 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.814e-05/0.789, allocations: 12.66 kB / 0.9716 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.789, allocations: 23.42 kB / 0.9716 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.789, allocations: 4 kB / 0.9716 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.8054, allocations: 1.829 MB / 0.9734 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.828, allocations: 8.891 kB / 0.9734 GB, free: 5.832 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.953564066207036] Failed to read output from testmodel.py, exit status != 0: 7.903822778956965 7.916961494 7.130470544 Calling exit ...