Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.00142/0.00142, allocations: 111.2 kB / 16.41 MB, free: 6.512 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.001433/0.001433, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.417/1.417, allocations: 222.9 MB / 245 MB, free: 15.02 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.051/1.051, allocations: 173.4 MB / 470.7 MB, free: 13.59 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.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.33 kB / 0.6479 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1871, allocations: 89.52 MB / 0.7353 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.7274/0.9146, allocations: 241.7 MB / 0.9713 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.9316, allocations: 8.41 MB / 0.9796 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.9345, allocations: 71.56 kB / 0.9796 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/0.938, allocations: 1.048 MB / 0.9806 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009575/0.9476, allocations: 3.065 MB / 0.9836 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.9579, allocations: 3.523 MB / 0.9871 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006981/0.9649, allocations: 3.909 MB / 0.9909 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003705/0.9686, allocations: 1.36 MB / 0.9922 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007648/0.9763, allocations: 2.187 MB / 0.9944 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.9797, allocations: 1.35 MB / 0.9957 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.9805, allocations: 128 kB / 0.9958 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009095/0.9896, allocations: 3.924 MB / 0.9996 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.9909, allocations: 0.588 MB / 1 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.9934, allocations: 0.983 MB / 1.001 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.005, allocations: 3.858 MB / 1.005 GB, free: 13.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.005, allocations: 0 / 1.005 GB, free: 13.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/1.005, allocations: 4 kB / 1.005 GB, free: 13.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001337/1.005, allocations: 0 / 1.005 GB, free: 13.07 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008515/1.013, allocations: 2.71 MB / 1.008 GB, free: 10.29 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.014, allocations: 8.031 kB / 1.008 GB, free: 10.28 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/1.014, allocations: 198.4 kB / 1.008 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/1.021, allocations: 1.083 MB / 1.009 GB, free: 8.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/1.024, allocations: 1.275 MB / 1.01 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.024, allocations: 103.4 kB / 1.01 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/1.025, allocations: 135.9 kB / 1.01 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004926/1.03, allocations: 1.972 MB / 1.012 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/1.03, allocations: 7.938 kB / 1.012 GB, free: 5.301 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/1.03, allocations: 55.97 kB / 1.012 GB, free: 5.246 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.212e-05/1.03, allocations: 62.3 kB / 1.012 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/1.035, allocations: 1.87 MB / 1.014 GB, free: 3.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/1.05, allocations: 9.187 MB / 1.023 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/1.054, allocations: 1.593 MB / 1.025 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.056, allocations: 0.7922 MB / 1.025 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009966/1.057, allocations: 0.5854 MB / 1.026 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/1.06, allocations: 0.8642 MB / 1.027 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=104): time 3.717e-06/1.06, allocations: 0 / 1.027 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=104): time 0.006875/1.067, allocations: 2.318 MB / 1.029 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/1.067, allocations: 64.41 kB / 1.029 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/1.07, allocations: 1.673 MB / 1.031 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/1.07, allocations: 41.7 kB / 1.031 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/1.071, allocations: 0.8555 MB / 1.032 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005075/1.071, allocations: 372.8 kB / 1.032 GB, free: 172 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005439/1.072, allocations: 238.8 kB / 1.032 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.072, allocations: 357.9 kB / 1.033 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/1.074, allocations: 0.67 MB / 1.033 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/1.076, allocations: 1.052 MB / 1.034 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004292/1.081, allocations: 1.715 MB / 1.036 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/1.081, allocations: 4 kB / 1.036 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005507/1.086, allocations: 1.914 MB / 1.038 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.086, allocations: 8.219 kB / 1.038 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.086, allocations: 16 kB / 1.038 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.263e-05/1.086, allocations: 20 kB / 1.038 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.088, allocations: 363.4 kB / 1.038 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.792e-05/1.088, allocations: 23.94 kB / 1.038 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.091, allocations: 258.7 kB / 1.039 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002214/1.091, allocations: 67.92 kB / 1.039 GB, free: 9.16 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.001322/1.092, allocations: 400.4 kB / 1.039 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008115/1.093, allocations: 198.7 kB / 1.039 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/1.099, allocations: 1.777 MB / 1.041 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.099, allocations: 8 kB / 1.041 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.099, allocations: 0 / 1.041 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.099, allocations: 11.92 kB / 1.041 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008871/1.108, allocations: 3.936 MB / 1.045 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.108, allocations: 8 kB / 1.045 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.109, allocations: 264.1 kB / 1.045 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.579e-05/1.109, allocations: 16 kB / 1.045 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.109, allocations: 35.97 kB / 1.045 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/1.11, allocations: 15.94 kB / 1.045 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.11, allocations: 11.98 kB / 1.045 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/1.117, allocations: 2.871 MB / 1.048 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009616/1.118, allocations: 391.5 kB / 1.048 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/1.118, allocations: 31.98 kB / 1.048 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/1.12, allocations: 123.9 kB / 1.048 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.12, allocations: 84.38 kB / 1.049 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/1.12, allocations: 43.98 kB / 1.049 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002116/1.122, allocations: 1.135 MB / 1.05 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/1.122, allocations: 0 / 1.05 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00186/1.124, allocations: 471.4 kB / 1.05 GB, free: 13.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.009562/1.134, allocations: 3.925 MB / 1.054 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004812/1.139, allocations: 1.612 MB / 1.056 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.139, allocations: 4 kB / 1.056 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.141, allocations: 0.8015 MB / 1.056 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/1.146, allocations: 0.9153 MB / 1.057 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/1.182, allocations: 14.94 MB / 1.072 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.184, allocations: 1.366 MB / 1.073 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002041/1.186, allocations: 458.6 kB / 1.074 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.187, allocations: 0.7101 MB / 1.074 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/1.187, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/1.682, allocations: 48.85 MB / 1.122 GB, free: 280.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.97, allocations: 10.44 kB / 1.122 GB, free: 280.2 MB / 0.8575 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.975106970174238] Failed to read output from testmodel.py, exit status != 0: 14.123441006056964 14.140158524 13.132382987 Calling exit ...