Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009263/0.0009263, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5649/0.5649, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.5543 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.382e-05, allocations: 6.969 kB / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0009668/0.0009807, allocations: 0.5783 MB / 0.5548 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001958/0.001176, allocations: 43.86 kB / 0.5549 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.00119, allocations: 0 / 0.5549 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.001204, allocations: 0 / 0.5549 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.001211, allocations: 3.938 kB / 0.5549 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.001436, allocations: 19.92 kB / 0.5549 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.367e-05/0.001479, allocations: 4 kB / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.001516, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.001539, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.068e-05/0.00156, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.001571, allocations: 0 / 0.5549 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.001661, allocations: 19.98 kB / 0.5549 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.001674, allocations: 3.984 kB / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.001688, allocations: 0 / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.154e-05/0.00177, allocations: 23.91 kB / 0.5549 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.001772, allocations: 4 kB / 0.5549 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.213e-06/0.001773, allocations: 0 / 0.5549 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.001777, allocations: 0 / 0.5549 GB, free: 2.008 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002265/0.002004, allocations: 238.5 kB / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.002043, allocations: 12.62 kB / 0.5552 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.002072, allocations: 38.69 kB / 0.5552 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.002255, allocations: 20.84 kB / 0.5552 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.545e-05/0.002311, allocations: 101.8 kB / 0.5553 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.002323, allocations: 4.375 kB / 0.5553 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.002331, allocations: 4.375 kB / 0.5553 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.002434, allocations: 34.25 kB / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.002443, allocations: 192 / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.002452, allocations: 384 / 0.5554 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.002458, allocations: 4.125 kB / 0.5554 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.002505, allocations: 15.91 kB / 0.5554 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.002617, allocations: 124.8 kB / 0.5555 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/0.00267, allocations: 22.55 kB / 0.5555 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.002698, allocations: 16.91 kB / 0.5556 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.002716, allocations: 0 / 0.5556 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.002735, allocations: 30.56 kB / 0.5556 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.002735, allocations: 0 / 0.5556 GB, free: 1.219 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.002896, allocations: 45.69 kB / 0.5556 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.002929, allocations: 63.27 kB / 0.5557 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.756e-05/0.002956, allocations: 89.86 kB / 0.5558 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.002967, allocations: 25.7 kB / 0.5558 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.002985, allocations: 88.27 kB / 0.5559 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.00301, allocations: 3.938 kB / 0.5559 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.003033, allocations: 9.719 kB / 0.5559 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/0.003113, allocations: 314.8 kB / 0.5562 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.003139, allocations: 3.984 kB / 0.5562 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.898e-05/0.003158, allocations: 4 kB / 0.5562 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.003383, allocations: 20.84 kB / 0.5562 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003385, allocations: 4.062 kB / 0.5562 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.526e-05/0.00345, allocations: 37.69 kB / 0.5563 GB, free: 472 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.003465, allocations: 8 kB / 0.5563 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.00347, allocations: 0 / 0.5563 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.003483, allocations: 3.938 kB / 0.5563 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.003543, allocations: 7.984 kB / 0.5563 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.003549, allocations: 3.938 kB / 0.5563 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.003563, allocations: 0 / 0.5563 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.003569, allocations: 0 / 0.5563 GB, free: 448 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.941e-05/0.003618, allocations: 113.9 kB / 0.5564 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-06/0.003622, allocations: 3.953 kB / 0.5564 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.003649, allocations: 10.98 kB / 0.5564 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.00365, allocations: 0 / 0.5564 GB, free: 312 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.003655, allocations: 3.938 kB / 0.5564 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.003657, allocations: 0 / 0.5564 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.571e-05/0.003713, allocations: 116.8 kB / 0.5565 GB, free: 148 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.003714, allocations: 3.938 kB / 0.5565 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.48e-05/0.003728, allocations: 3.984 kB / 0.5565 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.51e-07/0.003729, allocations: 7.938 kB / 0.5565 GB, free: 132 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.003734, allocations: 4 kB / 0.5565 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.003735, allocations: 4 kB / 0.5565 GB, free: 124 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.003737, allocations: 3.938 kB / 0.5565 GB, free: 120 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.153e-05/0.003809, allocations: 65.06 kB / 0.5566 GB, free: 36 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.003813, allocations: 4 kB / 0.5566 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.003822, allocations: 3.984 kB / 0.5566 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.219e-05/0.003834, allocations: 4 kB / 0.5566 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.003844, allocations: 3.938 kB / 0.5566 GB, free: 20 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.003846, allocations: 4.031 kB / 0.5566 GB, free: 16 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.003875, allocations: 75.28 kB / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.003875, allocations: 0 / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001103/0.003986, allocations: 0 / 0.5567 GB, free: 15.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0002277/0.004213, allocations: 0.593 MB / 0.5573 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.0043, allocations: 15.92 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.004302, allocations: 4.094 kB / 0.5573 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.00432, allocations: 11.98 kB / 0.5573 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.164e-05/0.004412, allocations: 3.938 kB / 0.5573 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002366/0.004649, allocations: 110.6 kB / 0.5574 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.916e-05/0.004678, allocations: 55.36 kB / 0.5575 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.004699, allocations: 4.062 kB / 0.5575 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.004722, allocations: 12.5 kB / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.004722, allocations: 0 / 0.5575 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.01833, allocations: 1.582 MB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.947, allocations: 7.578 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.477578600868583] Failed to read output from testmodel.py, exit status != 0: 7.027997302822769 7.03788193 7.034135456 Calling exit ...