Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009541/0.0009541, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001094/0.001094, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00142/0.00142, allocations: 221.4 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6753/0.6753, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6463 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.502e-05, allocations: 6.219 kB / 0.6464 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001221/0.001246, allocations: 0.589 MB / 0.6469 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002118/0.001458, allocations: 43.77 kB / 0.647 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.001474, allocations: 3.938 kB / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.00149, allocations: 0 / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.001496, allocations: 0 / 0.647 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.001725, allocations: 23.91 kB / 0.647 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.355e-05/0.001769, allocations: 0 / 0.647 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.001812, allocations: 3.984 kB / 0.647 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.001837, allocations: 4 kB / 0.647 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.157e-05/0.001859, allocations: 0 / 0.647 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.001871, allocations: 4 kB / 0.647 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.001968, allocations: 19.98 kB / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.001979, allocations: 0 / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.282e-05/0.001992, allocations: 0 / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.002078, allocations: 19.95 kB / 0.647 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.002081, allocations: 4 kB / 0.647 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.002083, allocations: 0 / 0.647 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.002087, allocations: 0 / 0.647 GB, free: 1.07 MB / 0.5573 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.0002206/0.002308, allocations: 238.4 kB / 0.6473 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.002347, allocations: 9.938 kB / 0.6473 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.002374, allocations: 34.75 kB / 0.6473 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.002563, allocations: 24.89 kB / 0.6473 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.394e-05/0.002617, allocations: 102.5 kB / 0.6474 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.002627, allocations: 384 / 0.6474 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.002634, allocations: 384 / 0.6474 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.002738, allocations: 38.19 kB / 0.6475 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.002744, allocations: 4.125 kB / 0.6475 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.002752, allocations: 4.312 kB / 0.6475 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.002759, allocations: 8.125 kB / 0.6475 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.002804, allocations: 15.98 kB / 0.6475 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.002923, allocations: 112.8 kB / 0.6476 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.002979, allocations: 22.59 kB / 0.6476 GB, free: 356 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.003006, allocations: 8.922 kB / 0.6476 GB, free: 344 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.003026, allocations: 0 / 0.6476 GB, free: 344 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.003043, allocations: 38.5 kB / 0.6477 GB, free: 296 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003044, allocations: 0 / 0.6477 GB, free: 296 kB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.003219, allocations: 53.67 kB / 0.6477 GB, free: 236 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.003249, allocations: 55.34 kB / 0.6478 GB, free: 168 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.456e-05/0.003273, allocations: 89.86 kB / 0.6479 GB, free: 68 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.003282, allocations: 25.7 kB / 0.6479 GB, free: 36 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.2503/0.2536, allocations: 80.14 kB / 0.648 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.2537, allocations: 0 / 0.648 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.2537, allocations: 13.73 kB / 0.648 GB, free: 56.97 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/0.2537, allocations: 313.9 kB / 0.6483 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.435e-05/0.2538, allocations: 3.562 kB / 0.6483 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.2538, allocations: 9.531 kB / 0.6483 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/0.2539, allocations: 16.75 kB / 0.6483 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.2539, allocations: 1.406 kB / 0.6483 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.427e-05/0.254, allocations: 44.88 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.254, allocations: 5.75 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.254, allocations: 1.344 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.254, allocations: 0 / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.2541, allocations: 5.797 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2541, allocations: 4.281 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2541, allocations: 5.703 kB / 0.6484 GB, free: 56.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2541, allocations: 0 / 0.6484 GB, free: 56.62 MB / 0.5573 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.592e-05/0.2542, allocations: 114 kB / 0.6485 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.2542, allocations: 0.625 kB / 0.6485 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.2542, allocations: 6.594 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2542, allocations: 0 / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2542, allocations: 3.938 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2542, allocations: 2.25 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.348e-05/0.2543, allocations: 114.4 kB / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2543, allocations: 5.75 kB / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.2543, allocations: 6.375 kB / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2543, allocations: 0 / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2543, allocations: 5.125 kB / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2543, allocations: 0.5625 kB / 0.6486 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2543, allocations: 6.312 kB / 0.6486 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.2544, allocations: 66.59 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.2544, allocations: 2.406 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.2544, allocations: 2.484 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.2545, allocations: 2.703 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.2545, allocations: 4.75 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2545, allocations: 7.906 kB / 0.6487 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.071e-05/0.2545, allocations: 78.19 kB / 0.6488 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2545, allocations: 1.625 kB / 0.6488 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001168/0.2546, allocations: 0.8438 kB / 0.6488 GB, free: 56.2 MB / 0.5573 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.0002323/0.2548, allocations: 0.5942 MB / 0.6494 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.255, allocations: 17.47 kB / 0.6494 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.255, allocations: 2.656 kB / 0.6494 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.255, allocations: 5.844 kB / 0.6494 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.2551, allocations: 10.09 kB / 0.6494 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.2554, allocations: 111.6 kB / 0.6495 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.2554, allocations: 58.89 kB / 0.6496 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.2554, allocations: 7.859 kB / 0.6496 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.2555, allocations: 9.219 kB / 0.6496 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.2555, allocations: 0.8125 kB / 0.6496 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.2709, allocations: 1.608 MB / 0.6512 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/6.736, allocations: 3.406 kB / 0.6512 GB, free: 54.67 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.307210847735405] Failed to read output from testmodel.py, exit status != 0: 6.813926683738828 6.82308103 6.819254987 Calling exit ...