Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.0007743/0.0007743, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007984/0.0007984, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9108/0.9108, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5554/0.5554, allocations: 110.2 MB / 369.4 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 0.5473 GB, free: 8.766 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.018e-05, allocations: 6.281 kB / 0.5473 GB, free: 8.758 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001928/0.001948, allocations: 1.44 MB / 0.5487 GB, free: 7.301 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004949/0.002443, allocations: 363.6 kB / 0.549 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.002471, allocations: 0 / 0.549 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002497, allocations: 7.938 kB / 0.549 GB, free: 6.934 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.002536, allocations: 3.938 kB / 0.549 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.002886, allocations: 119.1 kB / 0.5492 GB, free: 6.816 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.002947, allocations: 27.92 kB / 0.5492 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.00303, allocations: 7.984 kB / 0.5492 GB, free: 6.781 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.003073, allocations: 11.94 kB / 0.5492 GB, free: 6.77 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.215e-05/0.003105, allocations: 15.97 kB / 0.5492 GB, free: 6.754 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.003118, allocations: 0 / 0.5492 GB, free: 6.754 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.003356, allocations: 255.7 kB / 0.5495 GB, free: 6.504 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.003372, allocations: 11.98 kB / 0.5495 GB, free: 6.492 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.003387, allocations: 7.938 kB / 0.5495 GB, free: 6.484 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.003556, allocations: 135.6 kB / 0.5496 GB, free: 6.352 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003557, allocations: 0 / 0.5496 GB, free: 6.352 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003559, allocations: 3.938 kB / 0.5496 GB, free: 6.348 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003562, allocations: 0 / 0.5496 GB, free: 6.348 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004381/0.004, allocations: 288.4 kB / 0.5499 GB, free: 6.035 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004037, allocations: 12.03 kB / 0.5499 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.004063, allocations: 34.73 kB / 0.5499 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.004101, allocations: 12.83 kB / 0.5499 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.955e-05/0.004171, allocations: 109.8 kB / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.004179, allocations: 384 / 0.5501 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.004187, allocations: 4.375 kB / 0.5501 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.0043, allocations: 54.22 kB / 0.5501 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.004307, allocations: 192 / 0.5501 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.004314, allocations: 384 / 0.5501 GB, free: 5.773 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.00432, allocations: 4.125 kB / 0.5501 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.004403, allocations: 35.97 kB / 0.5501 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.004642, allocations: 227.9 kB / 0.5504 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.004714, allocations: 42.55 kB / 0.5504 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.004757, allocations: 20.91 kB / 0.5504 GB, free: 5.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002794/0.005036, allocations: 75.92 kB / 0.5505 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.005056, allocations: 42.48 kB / 0.5505 GB, free: 5.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.005056, allocations: 0 / 0.5505 GB, free: 5.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.000211/0.005267, allocations: 81.59 kB / 0.5506 GB, free: 5.184 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.005292, allocations: 51.53 kB / 0.5507 GB, free: 5.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/0.005341, allocations: 109.8 kB / 0.5508 GB, free: 5.004 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.005349, allocations: 25.7 kB / 0.5508 GB, free: 4.973 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.005381, allocations: 84.14 kB / 0.5509 GB, free: 4.887 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.005397, allocations: 11.88 kB / 0.5509 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.005419, allocations: 17.72 kB / 0.5509 GB, free: 4.852 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.00549, allocations: 310.8 kB / 0.5512 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.005528, allocations: 15.98 kB / 0.5512 GB, free: 4.523 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.005563, allocations: 19.97 kB / 0.5512 GB, free: 4.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.005635, allocations: 44.89 kB / 0.5513 GB, free: 4.457 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005636, allocations: 0 / 0.5513 GB, free: 4.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.755e-05/0.005734, allocations: 73.53 kB / 0.5513 GB, free: 4.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005744, allocations: 4 kB / 0.5514 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.005748, allocations: 0 / 0.5514 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.005757, allocations: 0 / 0.5514 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.005805, allocations: 12.03 kB / 0.5514 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.005809, allocations: 3.984 kB / 0.5514 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.005829, allocations: 4 kB / 0.5514 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005833, allocations: 0 / 0.5514 GB, free: 4.355 MB / 474.7 MB 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 (2): * Single equations (assignments): 2 * 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.615e-05/0.005879, allocations: 113.8 kB / 0.5515 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.005897, allocations: 7.891 kB / 0.5515 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.006018, allocations: 77.2 kB / 0.5516 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.006019, allocations: 0 / 0.5516 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.006022, allocations: 4.031 kB / 0.5516 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006024, allocations: 0 / 0.5516 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.914e-05/0.006113, allocations: 132.7 kB / 0.5517 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006114, allocations: 3.938 kB / 0.5517 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.006135, allocations: 15.92 kB / 0.5517 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.006138, allocations: 7.938 kB / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006142, allocations: 0 / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006143, allocations: 0 / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.006143, allocations: 0 / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.006261, allocations: 159.8 kB / 0.5519 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.006267, allocations: 11.89 kB / 0.5519 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.006276, allocations: 4 kB / 0.5519 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/0.00631, allocations: 7.984 kB / 0.5519 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.006339, allocations: 7.938 kB / 0.5519 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.006341, allocations: 0 / 0.5519 GB, free: 3.738 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.398e-05/0.006365, allocations: 83.28 kB / 0.552 GB, free: 3.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006365, allocations: 0 / 0.552 GB, free: 3.656 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.006516, allocations: 15.98 kB / 0.552 GB, free: 3.641 MB / 474.7 MB 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 (2): * Single equations (assignments): 2 * 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.0003161/0.006832, allocations: 0.7163 MB / 0.5527 GB, free: 2.898 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.006947, allocations: 43.89 kB / 0.5527 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.006949, allocations: 0 / 0.5527 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/0.006986, allocations: 15.98 kB / 0.5528 GB, free: 2.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.007166, allocations: 14.19 kB / 0.5528 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.00745, allocations: 130.6 kB / 0.5529 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.007484, allocations: 59.34 kB / 0.5529 GB, free: 2.582 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.007501, allocations: 4 kB / 0.5529 GB, free: 2.578 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.007526, allocations: 12.48 kB / 0.553 GB, free: 2.566 MB / 474.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007527, allocations: 0 / 0.553 GB, free: 2.566 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.02074, allocations: 2.285 MB / 0.5552 GB, free: 428 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.78/6.8, allocations: 9.453 kB / 0.5552 GB, free: 424 kB / 474.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.217157065868378] Failed to read output from testmodel.py, exit status != 0: 6.8780448799952865 6.8902791 6.884877626 Calling exit ...