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.0008548/0.0008548, 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.001006/0.001006, allocations: 169.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.912/0.912, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5329/0.5329, allocations: 110.2 MB / 369.4 MB, free: 12.63 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 2.745e-06/2.745e-06, allocations: 0 / 0.5473 GB, free: 8.762 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.684e-05, allocations: 2.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.002263/0.00229, allocations: 1.458 MB / 0.5487 GB, free: 7.285 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.002904, allocations: 351.6 kB / 0.549 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.00295, allocations: 0 / 0.549 GB, free: 6.938 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.002984, allocations: 7.938 kB / 0.549 GB, free: 6.93 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.003044, allocations: 3.984 kB / 0.5491 GB, free: 6.926 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.00354, allocations: 127.4 kB / 0.5492 GB, free: 6.801 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.003614, allocations: 19.94 kB / 0.5492 GB, free: 6.781 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003719, allocations: 7.984 kB / 0.5492 GB, free: 6.773 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.003772, allocations: 8 kB / 0.5492 GB, free: 6.766 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.003809, allocations: 11.98 kB / 0.5492 GB, free: 6.754 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.003825, allocations: 0 / 0.5492 GB, free: 6.754 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.004086, allocations: 263.6 kB / 0.5495 GB, free: 6.496 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.004102, allocations: 7.938 kB / 0.5495 GB, free: 6.488 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.004118, allocations: 7.938 kB / 0.5495 GB, free: 6.48 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.004296, allocations: 139.6 kB / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004299, allocations: 0 / 0.5496 GB, free: 6.344 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.004301, allocations: 7.938 kB / 0.5496 GB, free: 6.336 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004304, allocations: 0 / 0.5496 GB, free: 6.336 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.0004657/0.00477, allocations: 286 kB / 0.5499 GB, free: 6.023 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.004811, allocations: 12.61 kB / 0.5499 GB, free: 6.012 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.004841, allocations: 30.75 kB / 0.5499 GB, free: 5.973 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.004883, allocations: 12.83 kB / 0.55 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.004966, allocations: 105.8 kB / 0.5501 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004977, allocations: 4.375 kB / 0.5501 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.004984, allocations: 4.375 kB / 0.5501 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.005104, allocations: 50.23 kB / 0.5501 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.005112, allocations: 192 / 0.5501 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.00512, allocations: 384 / 0.5501 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005126, allocations: 4.125 kB / 0.5501 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.99e-05/0.005216, allocations: 47.88 kB / 0.5502 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.005477, allocations: 216 kB / 0.5504 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/0.005554, allocations: 42.55 kB / 0.5504 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.005598, allocations: 20.91 kB / 0.5504 GB, free: 5.391 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.005904, allocations: 79.91 kB / 0.5505 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.005932, allocations: 38.5 kB / 0.5505 GB, free: 5.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005933, allocations: 0 / 0.5505 GB, free: 5.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002441/0.006177, allocations: 81.58 kB / 0.5506 GB, free: 5.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.006211, allocations: 59.41 kB / 0.5507 GB, free: 5.109 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.5e-05/0.006266, allocations: 97.86 kB / 0.5508 GB, free: 5.004 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.006278, allocations: 29.7 kB / 0.5508 GB, free: 4.969 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.006317, allocations: 84.12 kB / 0.5509 GB, free: 4.883 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.006339, allocations: 12.02 kB / 0.5509 GB, free: 4.871 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.006367, allocations: 17.72 kB / 0.5509 GB, free: 4.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.006451, allocations: 310.8 kB / 0.5512 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.006494, allocations: 19.98 kB / 0.5512 GB, free: 4.516 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.19e-05/0.006536, allocations: 15.97 kB / 0.5512 GB, free: 4.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.006616, allocations: 44.77 kB / 0.5513 GB, free: 4.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006619, allocations: 8 kB / 0.5513 GB, free: 4.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000123/0.006742, allocations: 69.59 kB / 0.5513 GB, free: 4.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.006758, allocations: 6.5 kB / 0.5514 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.006764, allocations: 0 / 0.5514 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.006778, allocations: 4 kB / 0.5514 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.006836, allocations: 7.984 kB / 0.5514 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.006842, allocations: 0 / 0.5514 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.006871, allocations: 4 kB / 0.5514 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006876, allocations: 4.031 kB / 0.5514 GB, free: 4.348 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 6.49e-05/0.006941, allocations: 117.8 kB / 0.5515 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.006963, allocations: 7.891 kB / 0.5515 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.007104, allocations: 73.22 kB / 0.5516 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.007107, allocations: 0 / 0.5516 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.007112, allocations: 0 / 0.5516 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.007118, allocations: 4 kB / 0.5516 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.007233, allocations: 124.8 kB / 0.5517 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007234, allocations: 7.969 kB / 0.5517 GB, free: 3.961 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.007259, allocations: 11.98 kB / 0.5517 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.007263, allocations: 3.938 kB / 0.5517 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.007272, allocations: 4 kB / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007274, allocations: 0 / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007275, allocations: 256 / 0.5517 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.007415, allocations: 163.5 kB / 0.5519 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007426, allocations: 7.891 kB / 0.5519 GB, free: 3.758 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.007437, allocations: 8.031 kB / 0.5519 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.007472, allocations: 7.984 kB / 0.5519 GB, free: 3.742 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.007508, allocations: 4 kB / 0.5519 GB, free: 3.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.007511, allocations: 4 kB / 0.5519 GB, free: 3.734 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.734e-05/0.007539, allocations: 83.27 kB / 0.552 GB, free: 3.652 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007539, allocations: 0 / 0.552 GB, free: 3.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001573/0.007696, allocations: 12 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.0003827/0.008079, allocations: 0.7163 MB / 0.5527 GB, free: 2.898 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.008208, allocations: 43.89 kB / 0.5527 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.008209, allocations: 0 / 0.5527 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.008247, allocations: 15.98 kB / 0.5527 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.0002178/0.008465, allocations: 14.52 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.000362/0.008827, allocations: 138.6 kB / 0.5529 GB, free: 2.652 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.008872, allocations: 63.48 kB / 0.553 GB, free: 2.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.158e-05/0.008893, allocations: 3.984 kB / 0.553 GB, free: 2.566 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.008927, allocations: 8.5 kB / 0.553 GB, free: 2.559 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008928, allocations: 0 / 0.553 GB, free: 2.559 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.02253, allocations: 2.279 MB / 0.5552 GB, free: 424 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.775/6.798, allocations: 19.48 kB / 0.5552 GB, free: 412 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.330245367251337] Failed to read output from testmodel.py, exit status != 0: 6.878140873275697 6.884552134 6.878607708 Calling exit ...