Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.001628/0.001628, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.001815/0.001815, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.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.082/1.082, allocations: 175.8 MB / 478.4 MB, free: 8.453 MB / 382.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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 69.42 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2173, allocations: 94.54 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.0027/0.22, allocations: 1.254 MB / 0.7587 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3761/0.5961, allocations: 3.269 MB / 0.7619 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.5961, allocations: 1.344 kB / 0.7619 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.5961, allocations: 4.078 kB / 0.7619 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.5961, allocations: 8.734 kB / 0.7619 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.5966, allocations: 107 kB / 0.762 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.5967, allocations: 37.8 kB / 0.7621 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.5967, allocations: 3.188 kB / 0.7621 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.5968, allocations: 24.02 kB / 0.7621 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.5968, allocations: 17.25 kB / 0.7621 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.5968, allocations: 3.344 kB / 0.7621 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.597, allocations: 84.94 kB / 0.7622 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.597, allocations: 4.828 kB / 0.7622 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.5971, allocations: 16.14 kB / 0.7622 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.5972, allocations: 73.84 kB / 0.7623 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5972, allocations: 0 / 0.7623 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5972, allocations: 0 / 0.7623 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5973, allocations: 0.625 kB / 0.7623 GB, free: 7.297 MB / 0.5762 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.0003146/0.5976, allocations: 351.7 kB / 0.7626 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5976, allocations: 8.438 kB / 0.7626 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.5976, allocations: 34.56 kB / 0.7627 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.146e-05/0.5977, allocations: 7.156 kB / 0.7627 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.5978, allocations: 170.2 kB / 0.7628 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.5978, allocations: 3.062 kB / 0.7628 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.5978, allocations: 8.719 kB / 0.7628 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.5979, allocations: 60.83 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5979, allocations: 1.375 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.598, allocations: 0.5938 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.598, allocations: 1.422 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.598, allocations: 20.23 kB / 0.7629 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.5981, allocations: 170.5 kB / 0.7631 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/0.5982, allocations: 54.78 kB / 0.7631 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.5982, allocations: 15.89 kB / 0.7631 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.5988, allocations: 0.5912 MB / 0.7637 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.5988, allocations: 40.03 kB / 0.7638 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.5988, allocations: 0.5 kB / 0.7638 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.5993, allocations: 313 kB / 0.7641 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.5994, allocations: 52.38 kB / 0.7641 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.5994, allocations: 104.4 kB / 0.7642 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.5994, allocations: 30.11 kB / 0.7642 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.5994, allocations: 85.61 kB / 0.7643 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.5994, allocations: 29.95 kB / 0.7643 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.5995, allocations: 24.81 kB / 0.7644 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.5995, allocations: 321.9 kB / 0.7647 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.5995, allocations: 12.94 kB / 0.7647 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.5996, allocations: 48.52 kB / 0.7647 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.5997, allocations: 73.77 kB / 0.7648 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5997, allocations: 3.109 kB / 0.7648 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001358/0.5998, allocations: 92.83 kB / 0.7649 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5998, allocations: 5.5 kB / 0.7649 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.5998, allocations: 1.156 kB / 0.7649 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5998, allocations: 6.859 kB / 0.7649 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.5999, allocations: 18.98 kB / 0.7649 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5999, allocations: 9.969 kB / 0.7649 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.5999, allocations: 10.38 kB / 0.7649 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5999, allocations: 4.312 kB / 0.765 GB, free: 4.707 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.666e-05/0.6, allocations: 116.3 kB / 0.7651 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.6, allocations: 6.891 kB / 0.7651 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.6, allocations: 11.16 kB / 0.7651 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6, allocations: 1.688 kB / 0.7651 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6001, allocations: 0 / 0.7651 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6001, allocations: 9.469 kB / 0.7651 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.6003, allocations: 175.6 kB / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6003, allocations: 0.8438 kB / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.6003, allocations: 15.97 kB / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6003, allocations: 1.078 kB / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6003, allocations: 2 kB / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6003, allocations: 0 / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6004, allocations: 0 / 0.7653 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.6005, allocations: 176.3 kB / 0.7654 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.6005, allocations: 89.41 kB / 0.7655 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.6005, allocations: 4.281 kB / 0.7655 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6006, allocations: 6.203 kB / 0.7655 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.6007, allocations: 11.8 kB / 0.7656 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6007, allocations: 2.594 kB / 0.7656 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.917e-05/0.6007, allocations: 82.61 kB / 0.7656 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6007, allocations: 0 / 0.7656 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002392/0.6009, allocations: 11.06 kB / 0.7656 GB, free: 4.062 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.000265/0.6012, allocations: 0.71 MB / 0.7663 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.6013, allocations: 41.66 kB / 0.7664 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6013, allocations: 0 / 0.7664 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.6013, allocations: 17.08 kB / 0.7664 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.6016, allocations: 15.52 kB / 0.7664 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.6031, allocations: 1.535 MB / 0.7679 GB, free: 18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.6035, allocations: 0.6889 MB / 0.7686 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.6035, allocations: 9.328 kB / 0.7686 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.6036, allocations: 15.27 kB / 0.7686 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.6036, allocations: 0 / 0.7686 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.6284, allocations: 1.66 MB / 0.7702 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.898, allocations: 6.094 kB / 0.7702 GB, free: 16.89 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.797752472106367] Failed to read output from testmodel.py, exit status != 0: 8.968840071931481 8.982974381 8.382718429 Calling exit ...