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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 113.1 kB / 17.08 MB, free: 5.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 193.2 kB / 20.03 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.201/1.201, allocations: 173.4 MB / 471.3 MB, free: 6.562 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 72.23 kB / 0.649 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1888, allocations: 89.52 MB / 0.7364 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00242/0.1912, allocations: 1.27 MB / 0.7376 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7334/0.9247, allocations: 147 MB / 0.8812 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.9247, allocations: 0 / 0.8812 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.9248, allocations: 3.375 kB / 0.8812 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.9249, allocations: 8.609 kB / 0.8812 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.9253, allocations: 93.3 kB / 0.8813 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.9254, allocations: 38.83 kB / 0.8813 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.9255, allocations: 3.25 kB / 0.8813 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.9255, allocations: 16.42 kB / 0.8813 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.9256, allocations: 14.94 kB / 0.8813 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.9256, allocations: 1.844 kB / 0.8813 GB, free: 1.262 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.9259, allocations: 82.92 kB / 0.8814 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.9259, allocations: 4.828 kB / 0.8814 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.926, allocations: 18.73 kB / 0.8814 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.9262, allocations: 63.14 kB / 0.8815 GB, free: 1.258 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9262, allocations: 0 / 0.8815 GB, free: 1.258 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9262, allocations: 0 / 0.8815 GB, free: 1.258 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.9262, allocations: 7.609 kB / 0.8815 GB, free: 1.254 MB / 0.67 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.0005596/0.9268, allocations: 359.2 kB / 0.8818 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9268, allocations: 10.14 kB / 0.8819 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.927, allocations: 10.5 kB / 0.8819 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.9272, allocations: 162.2 kB / 0.882 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.9272, allocations: 8.531 kB / 0.882 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.9272, allocations: 11.48 kB / 0.882 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.9273, allocations: 50.98 kB / 0.8821 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9274, allocations: 3.984 kB / 0.8821 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.9274, allocations: 5.672 kB / 0.8821 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9274, allocations: 0.7812 kB / 0.8821 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.9275, allocations: 20.09 kB / 0.8821 GB, free: 16.65 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.9276, allocations: 161.2 kB / 0.8823 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.9278, allocations: 55.25 kB / 0.8823 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.9278, allocations: 19.19 kB / 0.8823 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.9278, allocations: 5.062 kB / 0.8823 GB, free: 16.42 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.9278, allocations: 32.64 kB / 0.8824 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9279, allocations: 0 / 0.8824 GB, free: 16.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0008247/0.9287, allocations: 374.8 kB / 0.8827 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.9287, allocations: 53.19 kB / 0.8828 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.9288, allocations: 99.16 kB / 0.8829 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9289, allocations: 31.02 kB / 0.8829 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.9289, allocations: 80.14 kB / 0.883 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.9289, allocations: 42.89 kB / 0.883 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.929, allocations: 39.64 kB / 0.8831 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.9292, allocations: 317.9 kB / 0.8834 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.9292, allocations: 20.61 kB / 0.8834 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.747e-05/0.9293, allocations: 40.53 kB / 0.8834 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.9294, allocations: 56.75 kB / 0.8835 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9294, allocations: 0.75 kB / 0.8835 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001748/0.9296, allocations: 93.97 kB / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9296, allocations: 6 kB / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9296, allocations: 0 / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.9296, allocations: 5.469 kB / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.9298, allocations: 23.3 kB / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.9298, allocations: 3.297 kB / 0.8836 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.9298, allocations: 8.781 kB / 0.8836 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.9298, allocations: 2.562 kB / 0.8836 GB, free: 15.41 MB / 0.6856 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 9.286e-05/0.9299, allocations: 123.6 kB / 0.8837 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.9299, allocations: 6.484 kB / 0.8837 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.93, allocations: 11.84 kB / 0.8838 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.93, allocations: 2.781 kB / 0.8838 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.93, allocations: 0 / 0.8838 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.93, allocations: 1.359 kB / 0.8838 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.9302, allocations: 171.4 kB / 0.8839 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9302, allocations: 5.891 kB / 0.8839 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.9303, allocations: 26.3 kB / 0.8839 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9303, allocations: 0.9688 kB / 0.884 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.9303, allocations: 2.281 kB / 0.884 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9303, allocations: 0 / 0.884 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9303, allocations: 0 / 0.884 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.9305, allocations: 141.1 kB / 0.8841 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.9306, allocations: 85.38 kB / 0.8842 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.9307, allocations: 7.609 kB / 0.8842 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.9308, allocations: 6.547 kB / 0.8842 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.9308, allocations: 5.516 kB / 0.8842 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.9308, allocations: 3.266 kB / 0.8842 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.9308, allocations: 80.22 kB / 0.8843 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.9309, allocations: 0 / 0.8843 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001977/0.9311, allocations: 13.03 kB / 0.8843 GB, free: 14.84 MB / 0.6856 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.0001243/0.9312, allocations: 107.1 kB / 0.8844 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.9313, allocations: 60.61 kB / 0.8844 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9313, allocations: 1.375 kB / 0.8844 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.9314, allocations: 26 kB / 0.8845 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.9316, allocations: 10.7 kB / 0.8845 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.9322, allocations: 356.6 kB / 0.8848 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9326, allocations: 0.688 MB / 0.8855 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.9326, allocations: 12.41 kB / 0.8855 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of SimCode: time 2.11e-07/0.9326, allocations: 0 / 0.8855 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of Templates: time 0.002383/0.935, allocations: 0.8434 MB / 0.8863 GB, free: 13.7 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.175804090918973] Failed to read output from testmodel.py, exit status != 0: 0.9419273410458118 0.955864 0.027343950000000002 Calling exit ...