Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.00138/0.00138, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001398/0.001398, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9734/0.9734, allocations: 175.7 MB / 480.1 MB, free: 2.758 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: "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 68.33 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1524, allocations: 94.53 MB / 0.7601 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.04383/0.1962, allocations: 44.41 MB / 0.8034 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.208, allocations: 8.543 MB / 0.8118 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.209, allocations: 39.75 kB / 0.8118 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2102, allocations: 0.5274 MB / 0.8123 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.2136, allocations: 1.575 MB / 0.8139 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.2161, allocations: 1.215 MB / 0.815 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002979/0.2191, allocations: 2.631 MB / 0.8176 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.2202, allocations: 0.7306 MB / 0.8183 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002761/0.2229, allocations: 1.467 MB / 0.8198 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.2239, allocations: 0.7349 MB / 0.8205 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2241, allocations: 88 kB / 0.8206 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.2259, allocations: 0.9007 MB / 0.8214 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.2262, allocations: 258.9 kB / 0.8217 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005302/0.2267, allocations: 0.5325 MB / 0.8222 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.2289, allocations: 1.697 MB / 0.8239 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2289, allocations: 0 / 0.8239 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2289, allocations: 0 / 0.8239 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2289, allocations: 0 / 0.8239 GB, free: 15.23 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001868/0.2307, allocations: 1.403 MB / 0.8252 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2308, allocations: 12.03 kB / 0.8252 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.2309, allocations: 106.7 kB / 0.8253 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.2311, allocations: 128.2 kB / 0.8255 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.2324, allocations: 0.8396 MB / 0.8263 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.2324, allocations: 53.31 kB / 0.8263 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2325, allocations: 75.92 kB / 0.8264 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2337, allocations: 0.7863 MB / 0.8272 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2337, allocations: 7.938 kB / 0.8272 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.2338, allocations: 28 kB / 0.8272 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2338, allocations: 16 kB / 0.8272 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.2348, allocations: 0.5201 MB / 0.8277 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.2384, allocations: 3.812 MB / 0.8315 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006478/0.239, allocations: 317.8 kB / 0.8318 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.2394, allocations: 193.4 kB / 0.8319 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009806/0.2404, allocations: 1.311 MB / 0.8332 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.2408, allocations: 263.3 kB / 0.8335 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=41): time 1.793e-06/0.2408, allocations: 0 / 0.8335 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of matching and sorting (n=41): time 0.001318/0.2422, allocations: 0.6534 MB / 0.8341 GB, free: 3.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.2422, allocations: 110.8 kB / 0.8342 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.2432, allocations: 0.8138 MB / 0.835 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.2433, allocations: 33.7 kB / 0.835 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.2437, allocations: 480.5 kB / 0.8355 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2438, allocations: 142.8 kB / 0.8356 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.244, allocations: 126.2 kB / 0.8358 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2441, allocations: 334 kB / 0.8361 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.2445, allocations: 173 kB / 0.8362 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.245, allocations: 384.7 kB / 0.8366 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.2459, allocations: 0.5489 MB / 0.8371 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2459, allocations: 0 / 0.8371 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.2723/0.5182, allocations: 0.6401 MB / 0.8378 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5182, allocations: 7.531 kB / 0.8378 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5182, allocations: 5.938 kB / 0.8378 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.5182, allocations: 12.44 kB / 0.8378 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.5187, allocations: 130.9 kB / 0.8379 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.5188, allocations: 12.83 kB / 0.8379 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/0.5194, allocations: 83.11 kB / 0.838 GB, free: 76.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5194, allocations: 35.06 kB / 0.838 GB, free: 76.04 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0003212/0.5197, allocations: 261.6 kB / 0.8383 GB, free: 75.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5199, allocations: 107 kB / 0.8384 GB, free: 75.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.5216, allocations: 1.088 MB / 0.8395 GB, free: 75.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5216, allocations: 11.19 kB / 0.8395 GB, free: 75.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5216, allocations: 3.969 kB / 0.8395 GB, free: 75.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5216, allocations: 3.234 kB / 0.8395 GB, free: 75.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.524, allocations: 1.96 MB / 0.8414 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.524, allocations: 4.219 kB / 0.8414 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.5243, allocations: 81.19 kB / 0.8415 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.5243, allocations: 5.75 kB / 0.8415 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.5243, allocations: 28.03 kB / 0.8415 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.5243, allocations: 13.47 kB / 0.8415 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5243, allocations: 3.406 kB / 0.8415 GB, free: 75.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5255, allocations: 0.988 MB / 0.8425 GB, free: 74.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.5258, allocations: 271.4 kB / 0.8427 GB, free: 74.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/0.5259, allocations: 16.52 kB / 0.8428 GB, free: 74.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.5263, allocations: 36.56 kB / 0.8428 GB, free: 74.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/0.5263, allocations: 59.91 kB / 0.8429 GB, free: 74.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.5264, allocations: 34.33 kB / 0.8429 GB, free: 74.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000653/0.527, allocations: 0.5556 MB / 0.8434 GB, free: 74.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.527, allocations: 1.062 kB / 0.8434 GB, free: 74.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009025/0.528, allocations: 358 kB / 0.8438 GB, free: 74.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.003226/0.5312, allocations: 2.205 MB / 0.8459 GB, free: 73.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009935/0.5322, allocations: 0.5704 MB / 0.8465 GB, free: 73.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5322, allocations: 0.5625 kB / 0.8465 GB, free: 73.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/0.5328, allocations: 351.7 kB / 0.8468 GB, free: 72.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.5345, allocations: 400.1 kB / 0.8472 GB, free: 72.85 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.5426, allocations: 6.737 MB / 0.8538 GB, free: 69.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.5431, allocations: 1.05 MB / 0.8548 GB, free: 68.38 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005729/0.5436, allocations: 190.9 kB / 0.855 GB, free: 68.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.544, allocations: 378.9 kB / 0.8553 GB, free: 68.07 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.544, allocations: 0.5312 kB / 0.8553 GB, free: 68.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/0.6009, allocations: 29.05 MB / 0.8837 GB, free: 51.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/9.598, allocations: 0 / 0.8837 GB, free: 51.98 MB / 0.6387 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.08508322101261]