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.001353/0.001353, allocations: 109.4 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.00141/0.00141, 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.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.07/1.07, allocations: 175.8 MB / 478.4 MB, free: 8.465 MB / 382.1 MB " [Timeout remaining time 178] 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.001956/0.001956, allocations: 63.33 kB / 0.6652 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2096, allocations: 94.55 MB / 0.7576 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.755/0.9647, allocations: 242.6 MB / 0.9945 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.9799, allocations: 8.438 MB / 1.003 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.9826, allocations: 67.56 kB / 1.003 GB, free: 12.62 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.9859, allocations: 1.076 MB / 1.004 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009169/0.9951, allocations: 3.177 MB / 1.007 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009462/1.005, allocations: 3.599 MB / 1.01 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006422/1.011, allocations: 3.921 MB / 1.014 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/1.013, allocations: 1.15 MB / 1.015 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/1.019, allocations: 2.273 MB / 1.018 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/1.022, allocations: 1.428 MB / 1.019 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004762/1.022, allocations: 128 kB / 1.019 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008732/1.031, allocations: 4.169 MB / 1.023 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/1.032, allocations: 0.6033 MB / 1.024 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/1.034, allocations: 0.9753 MB / 1.025 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.045, allocations: 3.856 MB / 1.029 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/1.045, allocations: 0 / 1.029 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.789e-06/1.045, allocations: 4 kB / 1.029 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-05/1.045, allocations: 0 / 1.029 GB, free: 2.152 MB / 0.8106 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.007845/1.053, allocations: 2.706 MB / 1.031 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.053, allocations: 8.031 kB / 1.031 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003673/1.054, allocations: 195.1 kB / 1.031 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/1.061, allocations: 1.095 MB / 1.032 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/1.065, allocations: 1.271 MB / 1.034 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/1.065, allocations: 102.3 kB / 1.034 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/1.065, allocations: 128 kB / 1.034 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/1.07, allocations: 1.98 MB / 1.036 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/1.071, allocations: 7.938 kB / 1.036 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/1.071, allocations: 59.92 kB / 1.036 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.132e-05/1.071, allocations: 63.17 kB / 1.036 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005126/1.076, allocations: 1.874 MB / 1.038 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/1.09, allocations: 9.175 MB / 1.047 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/1.094, allocations: 1.541 MB / 1.048 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/1.096, allocations: 0.7492 MB / 1.049 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.097, allocations: 0.5894 MB / 1.05 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002289/1.1, allocations: 0.8604 MB / 1.05 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=104): time 4.088e-06/1.1, allocations: 3.938 kB / 1.05 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=104): time 0.006635/1.106, allocations: 2.322 MB / 1.053 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.106, allocations: 60.41 kB / 1.053 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/1.109, allocations: 1.673 MB / 1.054 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/1.109, allocations: 45.7 kB / 1.054 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/1.11, allocations: 0.8478 MB / 1.055 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004755/1.111, allocations: 376.8 kB / 1.056 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/1.111, allocations: 238.8 kB / 1.056 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.111, allocations: 349.9 kB / 1.056 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/1.113, allocations: 0.6672 MB / 1.057 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.115, allocations: 1.058 MB / 1.058 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/1.119, allocations: 1.708 MB / 1.06 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/1.119, allocations: 4 kB / 1.06 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005501/1.125, allocations: 1.925 MB / 1.061 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/1.125, allocations: 8 kB / 1.061 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.125, allocations: 12 kB / 1.061 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/1.125, allocations: 16 kB / 1.061 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/1.127, allocations: 372 kB / 1.062 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/1.127, allocations: 27.67 kB / 1.062 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.129, allocations: 250.7 kB / 1.062 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.129, allocations: 64.72 kB / 1.062 GB, free: 14.35 MB / 0.8575 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.000843/1.13, allocations: 399.5 kB / 1.063 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/1.13, allocations: 198.7 kB / 1.063 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/1.135, allocations: 1.776 MB / 1.064 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.135, allocations: 12 kB / 1.064 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/1.135, allocations: 7.875 kB / 1.064 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.135, allocations: 7.969 kB / 1.064 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009027/1.144, allocations: 3.933 MB / 1.068 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.144, allocations: 12.16 kB / 1.068 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/1.146, allocations: 263.6 kB / 1.069 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-05/1.146, allocations: 15.98 kB / 1.069 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/1.146, allocations: 35.97 kB / 1.069 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/1.146, allocations: 15.94 kB / 1.069 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.146, allocations: 4 kB / 1.069 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007053/1.153, allocations: 2.871 MB / 1.071 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.154, allocations: 399.5 kB / 1.072 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/1.155, allocations: 24.75 kB / 1.072 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.156, allocations: 119.9 kB / 1.072 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.156, allocations: 96.31 kB / 1.072 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.157, allocations: 43.97 kB / 1.072 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001998/1.159, allocations: 1.135 MB / 1.073 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/1.159, allocations: 96 / 1.073 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00176/1.16, allocations: 475.4 kB / 1.074 GB, free: 2.277 MB / 0.8575 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.009095/1.169, allocations: 3.915 MB / 1.077 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004575/1.174, allocations: 1.562 MB / 1.079 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.174, allocations: 4 kB / 1.079 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.176, allocations: 0.7664 MB / 1.08 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/1.181, allocations: 0.9392 MB / 1.081 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4363/1.617, allocations: 14.91 MB / 1.095 GB, free: 295.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.618, allocations: 1.368 MB / 1.097 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001778/1.62, allocations: 454.5 kB / 1.097 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/1.621, allocations: 0.7079 MB / 1.098 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of SimCode: time 1.292e-06/1.621, allocations: 0 / 1.098 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.722, allocations: 49.13 MB / 1.146 GB, free: 277.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.85, allocations: 0 / 1.146 GB, free: 277.9 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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.918096699751914] Failed to read output from testmodel.py, exit status != 0: 14.006842507980764 14.019987759 12.971532647 Calling exit ...