Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008015/0.0008015, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000785/0.000785, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.904/0.904, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7621/0.7621, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6181 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.666e-05, allocations: 8.359 kB / 0.6181 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002399/0.002425, allocations: 1.274 MB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4286/0.431, allocations: 129.1 MB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.431, allocations: 0 / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.4311, allocations: 1.5 kB / 0.7454 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.4311, allocations: 9.922 kB / 0.7454 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.4315, allocations: 97.45 kB / 0.7455 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.4316, allocations: 36.25 kB / 0.7455 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.4316, allocations: 2.234 kB / 0.7455 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.294e-05/0.4317, allocations: 27.53 kB / 0.7455 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.4318, allocations: 9.734 kB / 0.7455 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4318, allocations: 5.219 kB / 0.7456 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.432, allocations: 76.58 kB / 0.7456 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.432, allocations: 11.38 kB / 0.7456 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.4321, allocations: 12.05 kB / 0.7456 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4322, allocations: 74.91 kB / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4322, allocations: 0 / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.083e-06/0.4322, allocations: 4 kB / 0.7457 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.4322, allocations: 0 / 0.7457 GB, free: 19.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003366/0.4326, allocations: 271.7 kB / 0.746 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4326, allocations: 10.03 kB / 0.746 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.4326, allocations: 32.62 kB / 0.746 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4328, allocations: 13.98 kB / 0.746 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.809e-05/0.4328, allocations: 109 kB / 0.7461 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4328, allocations: 6.109 kB / 0.7461 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4329, allocations: 5.219 kB / 0.7462 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.433, allocations: 140.1 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.433, allocations: 3.984 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.433, allocations: 1.031 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.433, allocations: 1.859 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.4331, allocations: 16.95 kB / 0.7463 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.4332, allocations: 131.1 kB / 0.7464 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.4333, allocations: 46.19 kB / 0.7465 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.4333, allocations: 20.58 kB / 0.7465 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.4333, allocations: 5.719 kB / 0.7465 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4333, allocations: 32.52 kB / 0.7465 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.4333, allocations: 7.938 kB / 0.7465 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000606/0.4339, allocations: 297 kB / 0.7468 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.434, allocations: 52.34 kB / 0.7469 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.591e-05/0.434, allocations: 96.86 kB / 0.747 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.434, allocations: 26.89 kB / 0.747 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.438e-05/0.434, allocations: 81.73 kB / 0.7471 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.4341, allocations: 45.91 kB / 0.7471 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4341, allocations: 28.47 kB / 0.7471 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.4341, allocations: 318.5 kB / 0.7474 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.4341, allocations: 16.75 kB / 0.7475 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.4342, allocations: 37.14 kB / 0.7475 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.4343, allocations: 68.47 kB / 0.7476 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4343, allocations: 1.984 kB / 0.7476 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.47e-05/0.4344, allocations: 93.94 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4344, allocations: 5.344 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.4344, allocations: 1.312 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4344, allocations: 1.594 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.4345, allocations: 19.56 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4345, allocations: 1.812 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.4345, allocations: 13.06 kB / 0.7477 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.4345, allocations: 3.594 kB / 0.7477 GB, free: 17.81 MB / 0.6355 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 4.296e-05/0.4345, allocations: 122.8 kB / 0.7478 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.4346, allocations: 6.766 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.4346, allocations: 13.69 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4346, allocations: 1.125 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4346, allocations: 1.125 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.4346, allocations: 0.7969 kB / 0.7478 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.968e-05/0.4346, allocations: 141.8 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4346, allocations: 1.094 kB / 0.748 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.4347, allocations: 29.52 kB / 0.748 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4347, allocations: 0 / 0.748 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4347, allocations: 1.219 kB / 0.748 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4347, allocations: 1.734 kB / 0.748 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4347, allocations: 0 / 0.748 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.4349, allocations: 143.3 kB / 0.7481 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.4349, allocations: 6.266 kB / 0.7481 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.4349, allocations: 1.094 kB / 0.7481 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.31e-05/0.435, allocations: 11.55 kB / 0.7482 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.435, allocations: 7.391 kB / 0.7482 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.435, allocations: 6.406 kB / 0.7482 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.638e-05/0.435, allocations: 76.41 kB / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.435, allocations: 0 / 0.7482 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001316/0.4352, allocations: 16.47 kB / 0.7483 GB, free: 17.31 MB / 0.6355 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.0002284/0.4354, allocations: 0.672 MB / 0.7489 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.4355, allocations: 50.52 kB / 0.749 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4355, allocations: 5.094 kB / 0.749 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.4355, allocations: 23.44 kB / 0.749 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4357, allocations: 16.44 kB / 0.749 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.4366, allocations: 1.389 MB / 0.7504 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.4367, allocations: 69.62 kB / 0.7504 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.4367, allocations: 11.72 kB / 0.7504 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.4367, allocations: 16.62 kB / 0.7505 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4367, allocations: 4 kB / 0.7505 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.4526, allocations: 2.346 MB / 0.7528 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.634, allocations: 5.469 kB / 0.7528 GB, free: 14.41 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.433595559559762] Failed to read output from testmodel.py, exit status != 0: 7.712693543173373 7.723148962 7.288779159 Calling exit ...