Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.001191/0.001191, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7068/0.7068, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.33 kB / 0.5019 GB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 80.2 MB / 0.5802 GB, free: 8.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.2501/0.3934, allocations: 30.56 MB / 0.61 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.4038, allocations: 10.22 MB / 0.62 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.405, allocations: 45.25 kB / 0.6201 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.4066, allocations: 0.6899 MB / 0.6207 GB, free: 35.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003475/0.4101, allocations: 1.464 MB / 0.6222 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.4128, allocations: 1.296 MB / 0.6234 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.4156, allocations: 2.88 MB / 0.6262 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.4167, allocations: 0.9282 MB / 0.6271 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.4188, allocations: 1.132 MB / 0.6282 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008326/0.4197, allocations: 0.773 MB / 0.629 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.4198, allocations: 95.47 kB / 0.6291 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.4213, allocations: 0.7938 MB / 0.6299 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.4216, allocations: 334.6 kB / 0.6302 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.4221, allocations: 0.5796 MB / 0.6308 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.4239, allocations: 1.868 MB / 0.6326 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.424, allocations: 4 kB / 0.6326 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.424, allocations: 3.938 kB / 0.6326 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.424, allocations: 0 / 0.6326 GB, free: 30.24 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001923/0.4259, allocations: 1.496 MB / 0.634 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.426, allocations: 11.47 kB / 0.6341 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.262e-05/0.4261, allocations: 101.1 kB / 0.6342 GB, free: 29.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009054/0.427, allocations: 211.2 kB / 0.6344 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.4282, allocations: 0.9591 MB / 0.6353 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.4283, allocations: 59.14 kB / 0.6353 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.4284, allocations: 63.25 kB / 0.6354 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4294, allocations: 0.697 MB / 0.6361 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4295, allocations: 3.938 kB / 0.6361 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.4295, allocations: 25.78 kB / 0.6361 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.4296, allocations: 18.34 kB / 0.6361 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.4306, allocations: 0.5156 MB / 0.6366 GB, free: 27.89 MB / 0.4981 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.003056/0.4336, allocations: 3.103 MB / 0.6397 GB, free: 25.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.4345, allocations: 376.5 kB / 0.64 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.4349, allocations: 185 kB / 0.6402 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.4362, allocations: 1.492 MB / 0.6417 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000468/0.4367, allocations: 237.1 kB / 0.6419 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.4367, allocations: 0 / 0.6419 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001258/0.438, allocations: 0.5417 MB / 0.6424 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.438, allocations: 61.27 kB / 0.6425 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.4388, allocations: 0.9031 MB / 0.6434 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.4388, allocations: 44.31 kB / 0.6434 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4391, allocations: 482.9 kB / 0.6439 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.4392, allocations: 108.5 kB / 0.644 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.4393, allocations: 121.3 kB / 0.6441 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.4394, allocations: 325.8 kB / 0.6444 GB, free: 22.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.4398, allocations: 204.1 kB / 0.6446 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.4403, allocations: 400.6 kB / 0.645 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.4412, allocations: 0.598 MB / 0.6455 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4412, allocations: 0 / 0.6455 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00119/0.4424, allocations: 0.6997 MB / 0.6462 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.4424, allocations: 37.73 kB / 0.6463 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.4424, allocations: 5.969 kB / 0.6463 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4425, allocations: 13.78 kB / 0.6463 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.4429, allocations: 122.8 kB / 0.6464 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.4429, allocations: 16 kB / 0.6464 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.4435, allocations: 78.73 kB / 0.6465 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.4435, allocations: 36.38 kB / 0.6465 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005401/0.4441, allocations: 398 kB / 0.6469 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004548/0.4445, allocations: 378.3 kB / 0.6473 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007586/0.4453, allocations: 0.5502 MB / 0.6478 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.4453, allocations: 0.9375 kB / 0.6478 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001115/0.4464, allocations: 0.6584 MB / 0.6485 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4465, allocations: 33.14 kB / 0.6485 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4465, allocations: 9.75 kB / 0.6485 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.4465, allocations: 12.84 kB / 0.6485 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.4469, allocations: 122.2 kB / 0.6486 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4469, allocations: 9.312 kB / 0.6486 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.4474, allocations: 64.25 kB / 0.6487 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.4475, allocations: 27.06 kB / 0.6487 GB, free: 20.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * 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.0001186/0.4476, allocations: 215.7 kB / 0.6489 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.4477, allocations: 96.59 kB / 0.649 GB, free: 19.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.449, allocations: 0.5815 MB / 0.6496 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.449, allocations: 7.344 kB / 0.6496 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.449, allocations: 3.938 kB / 0.6496 GB, free: 19.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009019/0.4499, allocations: 0.6413 MB / 0.6502 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.4518, allocations: 1.359 MB / 0.6515 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4518, allocations: 0.5938 kB / 0.6515 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.4522, allocations: 76.05 kB / 0.6516 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4522, allocations: 6.594 kB / 0.6516 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.4522, allocations: 12.16 kB / 0.6516 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4523, allocations: 6.203 kB / 0.6516 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.4523, allocations: 9.875 kB / 0.6517 GB, free: 18.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.4537, allocations: 0.8229 MB / 0.6525 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.454, allocations: 224.5 kB / 0.6527 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.4541, allocations: 8.812 kB / 0.6527 GB, free: 17.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.4545, allocations: 25.06 kB / 0.6527 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.4546, allocations: 33.28 kB / 0.6527 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.4547, allocations: 20.3 kB / 0.6528 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007667/0.4554, allocations: 0.6192 MB / 0.6534 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4555, allocations: 0 / 0.6534 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001276/0.4567, allocations: 0.5076 MB / 0.6539 GB, free: 17.38 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.002273/0.459, allocations: 1.65 MB / 0.6555 GB, free: 16.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.4608, allocations: 0.869 MB / 0.6563 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4608, allocations: 1.906 kB / 0.6563 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.4613, allocations: 226.5 kB / 0.6565 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.4633, allocations: 0.4912 MB / 0.657 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00896/0.4723, allocations: 7.002 MB / 0.6638 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.4728, allocations: 1.049 MB / 0.6649 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008825/0.4737, allocations: 225.5 kB / 0.6651 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.4741, allocations: 371 kB / 0.6654 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4741, allocations: 0 / 0.6654 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.7308, allocations: 27.29 MB / 0.6921 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.815/9.546, allocations: 7.641 kB / 0.6921 GB, free: 15.28 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)