Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.6 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 197.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7073/0.7073, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 68.92 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1103/0.2586, allocations: 106.4 MB / 0.7355 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4297/0.6883, allocations: 35.44 MB / 0.7701 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008556/0.6969, allocations: 163.9 kB / 0.7703 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00894/0.706, allocations: 2.913 MB / 0.7731 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.7235, allocations: 5.57 MB / 0.7786 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.7343, allocations: 4.133 MB / 0.7826 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0452/0.7796, allocations: 32.4 MB / 0.8142 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007041/0.7866, allocations: 3.699 MB / 0.8178 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.7982, allocations: 4.408 MB / 0.8221 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007134/0.8054, allocations: 3.458 MB / 0.8255 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/0.8075, allocations: 483.9 kB / 0.826 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009047/0.8165, allocations: 3.003 MB / 0.8289 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003097/0.8197, allocations: 1.96 MB / 0.8308 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007029/0.8267, allocations: 3.155 MB / 0.8339 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/0.847, allocations: 9.67 MB / 0.8434 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.8471, allocations: 0 / 0.8434 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8471, allocations: 0 / 0.8434 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003585/0.8475, allocations: 3.938 kB / 0.8434 GB, free: 12.23 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01845/0.8659, allocations: 6.611 MB / 0.8498 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.866, allocations: 8.031 kB / 0.8498 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003961/0.8664, allocations: 299.8 kB / 0.8501 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.8774, allocations: 1.928 MB / 0.852 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/0.9111, allocations: 18.29 MB / 0.8699 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.9114, allocations: 188.3 kB / 0.87 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008597/0.9122, allocations: 244 kB / 0.8703 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007287/0.9195, allocations: 3.408 MB / 0.8736 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.9196, allocations: 0 / 0.8736 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.9199, allocations: 88 kB / 0.8737 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.9199, allocations: 56 kB / 0.8737 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/0.9261, allocations: 2.572 MB / 0.8762 GB, free: 10.77 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/0.9519, allocations: 15.29 MB / 0.8912 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006134/0.9581, allocations: 2.415 MB / 0.8935 GB, free: 8.293 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.9607, allocations: 1.039 MB / 0.8945 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.9713, allocations: 5.437 MB / 0.8999 GB, free: 1.547 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.9713, allocations: 43.56 kB / 0.8999 GB, free: 1.496 MB / 0.67 GB Notification: Performance of pre-optimization done (n=115): time 3.277e-06/0.9713, allocations: 0 / 0.8999 GB, free: 1.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=115): time 0.0122/0.9836, allocations: 4.225 MB / 0.904 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.9836, allocations: 68.39 kB / 0.9041 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008991/0.9926, allocations: 5.808 MB / 0.9098 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005783/0.9933, allocations: 61.7 kB / 0.9098 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.9954, allocations: 2.321 MB / 0.9121 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006977/0.9961, allocations: 424.6 kB / 0.9125 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.9974, allocations: 0.9114 MB / 0.9134 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.9975, allocations: 305.1 kB / 0.9137 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004387/1.002, allocations: 2.899 MB / 0.9165 GB, free: 420 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/1.007, allocations: 3.79 MB / 0.9202 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009152/1.016, allocations: 6.168 MB / 0.9262 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/1.016, allocations: 8 kB / 0.9262 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01315/1.03, allocations: 7.811 MB / 0.9339 GB, free: 14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/1.03, allocations: 12 kB / 0.9339 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/1.03, allocations: 20 kB / 0.9339 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/1.032, allocations: 0.9664 MB / 0.9348 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/1.035, allocations: 0.6825 MB / 0.9355 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.037, allocations: 2.959 MB / 0.9384 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.042, allocations: 476.7 kB / 0.9388 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005189/1.042, allocations: 231.2 kB / 0.9391 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005708/1.048, allocations: 3.528 MB / 0.9425 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004407/1.052, allocations: 3.299 MB / 0.9457 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007635/1.06, allocations: 5.224 MB / 0.9508 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/1.06, allocations: 8 kB / 0.9508 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01236/1.072, allocations: 6.929 MB / 0.9576 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.072, allocations: 12 kB / 0.9576 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/1.072, allocations: 20.16 kB / 0.9576 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/1.075, allocations: 1.089 MB / 0.9587 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/1.078, allocations: 0.6474 MB / 0.9593 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/1.098, allocations: 16.54 MB / 0.9755 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006091/1.104, allocations: 374.2 kB / 0.9758 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/1.105, allocations: 183.9 kB / 0.976 GB, free: 1.414 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008825/1.106, allocations: 339.5 kB / 0.9763 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.108, allocations: 0.4972 MB / 0.9768 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008625/1.116, allocations: 3.539 MB / 0.9803 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.117, allocations: 12 kB / 0.9803 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.117, allocations: 0 / 0.9803 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/1.117, allocations: 11.91 kB / 0.9803 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01379/1.13, allocations: 6.556 MB / 0.9867 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/1.13, allocations: 4 kB / 0.9867 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.132, allocations: 311.7 kB / 0.987 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.133, allocations: 459 kB / 0.9874 GB, free: 5.609 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.133, allocations: 59.94 kB / 0.9875 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/1.135, allocations: 2.805 MB / 0.9902 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.135, allocations: 3.938 kB / 0.9902 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007719/1.143, allocations: 3.276 MB / 0.9934 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.145, allocations: 0.8296 MB / 0.9943 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007443/1.146, allocations: 28 kB / 0.9943 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/1.149, allocations: 159.8 kB / 0.9944 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.149, allocations: 97.12 kB / 0.9945 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.149, allocations: 95.92 kB / 0.9946 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006474/1.156, allocations: 3.851 MB / 0.9984 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.42e-07/1.156, allocations: 0 / 0.9984 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007393/1.163, allocations: 2.402 MB / 1.001 GB, free: 7.844 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009245/1.172, allocations: 4.371 MB / 1.005 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01484/1.187, allocations: 8.405 MB / 1.013 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/1.187, allocations: 0 / 1.013 GB, free: 11.04 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003014/1.19, allocations: 1.214 MB / 1.014 GB, free: 9.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.201, allocations: 2.548 MB / 1.017 GB, free: 7.344 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.396/1.597, allocations: 46.72 MB / 1.063 GB, free: 336.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.601, allocations: 2.96 MB / 1.065 GB, free: 335.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006052/1.607, allocations: 1.399 MB / 1.067 GB, free: 335.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/1.611, allocations: 2.294 MB / 1.069 GB, free: 334.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.202e-06/1.611, allocations: 6.188 kB / 1.069 GB, free: 334.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1955/1.806, allocations: 152.2 MB / 1.218 GB, free: 203.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.92/26.72, allocations: 15.73 kB / 1.218 GB, free: 203.8 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)