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.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.00133/0.00133, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001464/0.001464, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.248/1.248, allocations: 173.4 MB / 471.3 MB, free: 6.559 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 61.48 kB / 0.649 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 89.54 MB / 0.7364 GB, free: 3.645 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002426/0.1835, allocations: 1.313 MB / 0.7377 GB, free: 2.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6087/0.7922, allocations: 148.1 MB / 0.8823 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.7923, allocations: 0 / 0.8823 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 5.737e-05/0.7924, allocations: 5.438 kB / 0.8823 GB, free: 1.199 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.7926, allocations: 18.28 kB / 0.8823 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.7937, allocations: 326.9 kB / 0.8826 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.7938, allocations: 67.23 kB / 0.8827 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.7939, allocations: 6.516 kB / 0.8827 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.7939, allocations: 28.48 kB / 0.8827 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.794, allocations: 35.14 kB / 0.8828 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7941, allocations: 3.281 kB / 0.8828 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.7949, allocations: 409 kB / 0.8832 GB, free: 1.172 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.795, allocations: 19.42 kB / 0.8832 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.7951, allocations: 32.17 kB / 0.8832 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.7954, allocations: 160.5 kB / 0.8834 GB, free: 1.152 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.7955, allocations: 3.469 kB / 0.8834 GB, free: 1.152 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7955, allocations: 0 / 0.8834 GB, free: 1.152 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.7955, allocations: 1.094 kB / 0.8834 GB, free: 1.152 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000626/0.7961, allocations: 390.6 kB / 0.8837 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.7962, allocations: 9.969 kB / 0.8837 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.7966, allocations: 35.02 kB / 0.8838 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.7967, allocations: 175 kB / 0.8839 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.7968, allocations: 11.75 kB / 0.884 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.7968, allocations: 9.469 kB / 0.884 GB, free: 16.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.797, allocations: 76.97 kB / 0.884 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.797, allocations: 0 / 0.884 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7971, allocations: 4.938 kB / 0.884 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7971, allocations: 2.906 kB / 0.884 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.7972, allocations: 46.03 kB / 0.8841 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.7974, allocations: 185.4 kB / 0.8843 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.7976, allocations: 97.5 kB / 0.8844 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.7976, allocations: 32.23 kB / 0.8844 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.7979, allocations: 178.6 kB / 0.8846 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.798, allocations: 35.91 kB / 0.8846 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.798, allocations: 4 kB / 0.8846 GB, free: 16.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001332/0.7993, allocations: 0.5473 MB / 0.8851 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.7994, allocations: 58.38 kB / 0.8852 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.7994, allocations: 97.69 kB / 0.8853 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.7995, allocations: 29.64 kB / 0.8853 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.7995, allocations: 84.33 kB / 0.8854 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.7996, allocations: 74.92 kB / 0.8855 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.7996, allocations: 40.38 kB / 0.8855 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7998, allocations: 323.6 kB / 0.8858 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.7999, allocations: 31.7 kB / 0.8858 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.8, allocations: 80.67 kB / 0.8859 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.8001, allocations: 119 kB / 0.886 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.8001, allocations: 0 / 0.886 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002099/0.8003, allocations: 159.7 kB / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8003, allocations: 8.156 kB / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.8004, allocations: 0 / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8004, allocations: 3.938 kB / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8006, allocations: 42.22 kB / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8006, allocations: 3.312 kB / 0.8862 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.8006, allocations: 8.75 kB / 0.8862 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8007, allocations: 5.594 kB / 0.8862 GB, free: 15.03 MB / 0.6856 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 0.0001217/0.8008, allocations: 125.3 kB / 0.8864 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.8008, allocations: 6.109 kB / 0.8864 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.8009, allocations: 21.19 kB / 0.8864 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.8009, allocations: 1.406 kB / 0.8864 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8009, allocations: 0 / 0.8864 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.8009, allocations: 11.09 kB / 0.8864 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.8011, allocations: 193.2 kB / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8011, allocations: 0 / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.8013, allocations: 38.33 kB / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8013, allocations: 1.203 kB / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8013, allocations: 5.031 kB / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8013, allocations: 2.625 kB / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8013, allocations: 0 / 0.8866 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.8017, allocations: 213.2 kB / 0.8868 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.8018, allocations: 89.64 kB / 0.8869 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.8018, allocations: 5.656 kB / 0.8869 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.8019, allocations: 8.328 kB / 0.8869 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.802, allocations: 10.73 kB / 0.8869 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.802, allocations: 11.97 kB / 0.887 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.802, allocations: 77.72 kB / 0.887 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.802, allocations: 1.094 kB / 0.887 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002221/0.8023, allocations: 28.31 kB / 0.8871 GB, free: 14.46 MB / 0.6856 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.0001558/0.8024, allocations: 111.5 kB / 0.8872 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.8027, allocations: 107 kB / 0.8873 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8027, allocations: 0 / 0.8873 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.8027, allocations: 53.88 kB / 0.8873 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.803, allocations: 20.06 kB / 0.8873 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.8038, allocations: 0.5309 MB / 0.8879 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.8042, allocations: 0.6975 MB / 0.8885 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.8042, allocations: 17.66 kB / 0.8886 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of SimCode: time 2.61e-07/0.8042, allocations: 1.094 kB / 0.8886 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of Templates: time 0.002909/0.8071, allocations: 1.313 MB / 0.8898 GB, free: 13.16 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.111423757858574] Failed to read output from testmodel.py, exit status != 0: 0.8143333508633077 0.827318794 0.029616742 Calling exit ...