Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001162/0.001162, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001143/0.001143, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.324 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.9966/0.9966, allocations: 175.7 MB / 480.1 MB, free: 2.855 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.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 67.84 kB / 0.6677 GB, free: 11.06 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1576, allocations: 94.53 MB / 0.7601 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009352/0.1669, allocations: 7.443 MB / 0.7673 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4656/0.6325, allocations: 152.4 MB / 0.9161 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.6342, allocations: 23.84 kB / 0.9161 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.6361, allocations: 434.1 kB / 0.9165 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.6384, allocations: 0.7696 MB / 0.9173 GB, free: 15.12 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.6406, allocations: 1.154 MB / 0.9184 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002862/0.6435, allocations: 2.452 MB / 0.9208 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.6446, allocations: 0.7897 MB / 0.9216 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.6457, allocations: 0.9095 MB / 0.9225 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.6468, allocations: 0.991 MB / 0.9234 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.647, allocations: 265.5 kB / 0.9237 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009958/0.648, allocations: 0.6412 MB / 0.9243 GB, free: 10.88 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004763/0.6485, allocations: 0.5718 MB / 0.9249 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009006/0.6494, allocations: 1.077 MB / 0.9259 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.6525, allocations: 3.181 MB / 0.929 GB, free: 7.203 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6525, allocations: 0 / 0.929 GB, free: 7.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6525, allocations: 0 / 0.929 GB, free: 7.203 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.6525, allocations: 0 / 0.929 GB, free: 7.203 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004237/0.6567, allocations: 2.347 MB / 0.9313 GB, free: 5.445 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.6568, allocations: 9.75 kB / 0.9313 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002811/0.6571, allocations: 237.8 kB / 0.9316 GB, free: 5.258 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00572/0.6628, allocations: 0.8774 MB / 0.9324 GB, free: 4.848 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.6647, allocations: 1.142 MB / 0.9335 GB, free: 3.914 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.465e-05/0.6648, allocations: 129.5 kB / 0.9337 GB, free: 3.852 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.665, allocations: 158.7 kB / 0.9338 GB, free: 3.801 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.6692, allocations: 2.066 MB / 0.9358 GB, free: 2.539 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.6693, allocations: 0 / 0.9358 GB, free: 2.539 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.6694, allocations: 67.44 kB / 0.9359 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6694, allocations: 40.16 kB / 0.9359 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.675, allocations: 2.446 MB / 0.9383 GB, free: 1.293 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009361/0.6843, allocations: 5.922 MB / 0.9441 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.6885, allocations: 1.619 MB / 0.9457 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.6904, allocations: 0.7269 MB / 0.9464 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/0.6911, allocations: 494.7 kB / 0.9469 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002429/0.6935, allocations: 1.073 MB / 0.9479 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 2.865e-06/0.6935, allocations: 0 / 0.9479 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.007598/0.7011, allocations: 2.618 MB / 0.9505 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.7013, allocations: 226.9 kB / 0.9507 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7026, allocations: 0.9406 MB / 0.9516 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.7027, allocations: 53.7 kB / 0.9517 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.7033, allocations: 0.6655 MB / 0.9523 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/0.7038, allocations: 468 kB / 0.9528 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004504/0.7042, allocations: 250.8 kB / 0.953 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7044, allocations: 357.9 kB / 0.9533 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.7063, allocations: 0.6779 MB / 0.954 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.7084, allocations: 0.8159 MB / 0.9548 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.7122, allocations: 1.447 MB / 0.9562 GB, free: 388 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7122, allocations: 0 / 0.9562 GB, free: 388 kB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005086/0.7173, allocations: 1.797 MB / 0.958 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7173, allocations: 8 kB / 0.958 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.7173, allocations: 4.062 kB / 0.958 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.7179, allocations: 84.72 kB / 0.9581 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.7197, allocations: 339.5 kB / 0.9584 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.7218, allocations: 1.65 MB / 0.96 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.7235, allocations: 202 kB / 0.9602 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.7236, allocations: 55.95 kB / 0.9602 GB, free: 12.1 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007743/0.7244, allocations: 403.7 kB / 0.9606 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/0.7247, allocations: 143.1 kB / 0.9608 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.7305, allocations: 2.226 MB / 0.9629 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.7306, allocations: 23.94 kB / 0.963 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7306, allocations: 0 / 0.963 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.7306, allocations: 7.969 kB / 0.963 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.7329, allocations: 1.805 MB / 0.9647 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7329, allocations: 0 / 0.9647 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.7347, allocations: 311.6 kB / 0.965 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.7351, allocations: 84.7 kB / 0.9651 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.7352, allocations: 43.95 kB / 0.9651 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.7373, allocations: 1.678 MB / 0.9668 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7373, allocations: 0 / 0.9668 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/0.7425, allocations: 1.93 MB / 0.9687 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007921/0.7433, allocations: 451.5 kB / 0.9691 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.7436, allocations: 35.95 kB / 0.9691 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/0.745, allocations: 143.8 kB / 0.9693 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.7453, allocations: 121.1 kB / 0.9694 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.7454, allocations: 63.89 kB / 0.9694 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001013/0.7464, allocations: 0.6871 MB / 0.9701 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.7464, allocations: 0 / 0.9701 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001382/0.7478, allocations: 0.5143 MB / 0.9706 GB, free: 1.195 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007195/0.755, allocations: 3.027 MB / 0.9736 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004671/0.7597, allocations: 1.728 MB / 0.9753 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7597, allocations: 0 / 0.9753 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.7621, allocations: 0.9822 MB / 0.9762 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.7637, allocations: 400.2 kB / 0.9766 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/0.786, allocations: 11.39 MB / 0.9877 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/0.787, allocations: 1.284 MB / 0.989 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001471/0.7885, allocations: 402.6 kB / 0.9894 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.7896, allocations: 0.6827 MB / 0.99 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.7896, allocations: 0 / 0.99 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0745/0.8641, allocations: 35.95 MB / 1.025 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.95, allocations: 5.812 kB / 1.025 GB, free: 9.582 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.58756306700525]