Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0009105/0.0009105, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.00153/0.00153, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.943/0.943, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6022/0.6022, allocations: 114 MB / 373.9 MB, free: 8.688 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.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.759e-06/4.759e-06, allocations: 4 kB / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.581e-05, allocations: 3.125 kB / 0.5542 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001441/0.001467, allocations: 0.587 MB / 0.5548 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000501/0.001968, allocations: 286.9 kB / 0.5551 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.001984, allocations: 4 kB / 0.5551 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.002, allocations: 0 / 0.5551 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-06/0.002008, allocations: 0 / 0.5551 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.002418, allocations: 107.6 kB / 0.5552 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.002469, allocations: 4 kB / 0.5552 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.002518, allocations: 8 kB / 0.5552 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.002549, allocations: 7.984 kB / 0.5552 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.002575, allocations: 0 / 0.5552 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.002591, allocations: 4 kB / 0.5552 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.002909, allocations: 251.6 kB / 0.5555 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.002923, allocations: 0 / 0.5555 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.002939, allocations: 4 kB / 0.5555 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.003114, allocations: 115.7 kB / 0.5556 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003116, allocations: 3.938 kB / 0.5556 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003117, allocations: 0 / 0.5556 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003122, allocations: 0 / 0.5556 GB, free: 1.352 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.000276/0.003398, allocations: 266.2 kB / 0.5558 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.003442, allocations: 8.625 kB / 0.5558 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.001e-05/0.003472, allocations: 30.75 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.003518, allocations: 4.938 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.659e-05/0.003574, allocations: 109.8 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003584, allocations: 384 / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-06/0.00359, allocations: 384 / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.00368, allocations: 30.27 kB / 0.556 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003687, allocations: 192 / 0.556 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003694, allocations: 384 / 0.556 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.0037, allocations: 8.125 kB / 0.556 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.003717, allocations: 0 / 0.556 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.003827, allocations: 128.6 kB / 0.5561 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.859e-05/0.003866, allocations: 22.56 kB / 0.5562 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.003881, allocations: 8.953 kB / 0.5562 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.004174, allocations: 39.97 kB / 0.5562 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.004196, allocations: 42.55 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.004197, allocations: 0 / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.004347, allocations: 33.64 kB / 0.5563 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.004385, allocations: 55.34 kB / 0.5563 GB, free: 436 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.673e-05/0.004421, allocations: 89.86 kB / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.004433, allocations: 25.7 kB / 0.5564 GB, free: 304 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.004458, allocations: 84.14 kB / 0.5565 GB, free: 216 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.004491, allocations: 4 kB / 0.5565 GB, free: 212 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.004514, allocations: 9.719 kB / 0.5565 GB, free: 196 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.004636, allocations: 310.8 kB / 0.5568 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.004648, allocations: 12.11 kB / 0.5568 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.004654, allocations: 0 / 0.5568 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.004681, allocations: 8.859 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.004683, allocations: 0 / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.115e-05/0.004734, allocations: 37.64 kB / 0.5569 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.00475, allocations: 11.94 kB / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.004756, allocations: 0 / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.00477, allocations: 0 / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.004819, allocations: 0 / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.004827, allocations: 3.938 kB / 0.5569 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-06/0.004835, allocations: 4.094 kB / 0.5569 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.004845, allocations: 7.984 kB / 0.5569 GB, free: 15.79 MB / 0.5261 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 5.998e-05/0.004905, allocations: 105.8 kB / 0.557 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.004916, allocations: 3.953 kB / 0.557 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.004995, allocations: 36.7 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.004998, allocations: 0 / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.005005, allocations: 3.938 kB / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.005009, allocations: 0 / 0.5571 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.005085, allocations: 120.8 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005086, allocations: 4.031 kB / 0.5572 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.005096, allocations: 7.938 kB / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005098, allocations: 0 / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.005105, allocations: 0 / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.005107, allocations: 4 kB / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.005109, allocations: 3.938 kB / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.833e-05/0.005167, allocations: 57.12 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-06/0.005171, allocations: 0 / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.005182, allocations: 8 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-06/0.005185, allocations: 3.938 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.005203, allocations: 7.969 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.005205, allocations: 0 / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.684e-05/0.005232, allocations: 75.28 kB / 0.5573 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.005232, allocations: 0 / 0.5573 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001422/0.005374, allocations: 15.94 kB / 0.5574 GB, free: 15.26 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.0003439/0.005718, allocations: 0.6085 MB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.496e-05/0.005783, allocations: 4 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005784, allocations: 0 / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.005788, allocations: 4.094 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.718e-05/0.005885, allocations: 7.938 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/0.00612, allocations: 122.4 kB / 0.5581 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.006157, allocations: 55.36 kB / 0.5581 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.354e-05/0.00617, allocations: 0 / 0.5581 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.006185, allocations: 8.5 kB / 0.5581 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.006185, allocations: 0 / 0.5581 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.02005, allocations: 1.825 MB / 0.5599 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/6.949, allocations: 12.02 kB / 0.5599 GB, free: 12.67 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.580179015174508] Failed to read output from testmodel.py, exit status != 0: 7.0294914692640305 7.04025972 7.034836154 Calling exit ...