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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9954/0.9954, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 67.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.191, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.003566/0.1947, allocations: 1.429 MB / 0.5958 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000736/0.1954, allocations: 383.5 kB / 0.5962 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1955, allocations: 4 kB / 0.5962 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.1955, allocations: 3.938 kB / 0.5962 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.206e-05/0.1956, allocations: 4 kB / 0.5962 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1961, allocations: 115.6 kB / 0.5963 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.1962, allocations: 27.91 kB / 0.5963 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.1963, allocations: 7.984 kB / 0.5963 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.1963, allocations: 11.94 kB / 0.5963 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1964, allocations: 7.984 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1964, allocations: 4 kB / 0.5963 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.1968, allocations: 275.7 kB / 0.5966 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1968, allocations: 7.938 kB / 0.5966 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.1969, allocations: 15.92 kB / 0.5966 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.1971, allocations: 111.8 kB / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1971, allocations: 0 / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1971, allocations: 0 / 0.5967 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1971, allocations: 0 / 0.5967 GB, free: 7.113 MB / 0.4981 GB 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.0004492/0.1976, allocations: 359.7 kB / 0.5971 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1976, allocations: 8.031 kB / 0.5971 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1977, allocations: 38.69 kB / 0.5971 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1977, allocations: 4.938 kB / 0.5971 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1979, allocations: 168.3 kB / 0.5973 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.1979, allocations: 8.359 kB / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1979, allocations: 384 / 0.5973 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1981, allocations: 54.17 kB / 0.5973 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1981, allocations: 3.938 kB / 0.5973 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1981, allocations: 0 / 0.5973 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1981, allocations: 0 / 0.5973 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1983, allocations: 39.97 kB / 0.5974 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.1986, allocations: 245 kB / 0.5976 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.1987, allocations: 42.5 kB / 0.5977 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.1988, allocations: 36.83 kB / 0.5977 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006571/0.1995, allocations: 453.5 kB / 0.5981 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1995, allocations: 34.56 kB / 0.5982 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1995, allocations: 0 / 0.5982 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003765/0.1999, allocations: 81.64 kB / 0.5982 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1999, allocations: 51.41 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/0.2, allocations: 106 kB / 0.5984 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2, allocations: 25.7 kB / 0.5984 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.2001, allocations: 100.1 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.2001, allocations: 0 / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.2001, allocations: 21.7 kB / 0.5985 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.2002, allocations: 310.8 kB / 0.5988 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.2003, allocations: 19.92 kB / 0.5988 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.2004, allocations: 23.98 kB / 0.5989 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.2006, allocations: 44.88 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2006, allocations: 3.938 kB / 0.5989 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002159/0.2008, allocations: 73.56 kB / 0.599 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2008, allocations: 4 kB / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2008, allocations: 0 / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2008, allocations: 0 / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.2009, allocations: 8 kB / 0.599 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2009, allocations: 4.031 kB / 0.599 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.201, allocations: 7.984 kB / 0.599 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.201, allocations: 3.938 kB / 0.599 GB, free: 4.449 MB / 0.4981 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 (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.952e-05/0.2011, allocations: 109.8 kB / 0.5991 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.03e-05/0.2011, allocations: 4 kB / 0.5991 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.2014, allocations: 77.17 kB / 0.5992 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2014, allocations: 4.031 kB / 0.5992 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2014, allocations: 0 / 0.5992 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2014, allocations: 0 / 0.5992 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2015, allocations: 161.5 kB / 0.5993 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2016, allocations: 0 / 0.5993 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.2016, allocations: 11.98 kB / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2016, allocations: 0 / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2016, allocations: 4 kB / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2016, allocations: 0 / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2016, allocations: 0 / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.2019, allocations: 175.3 kB / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.2019, allocations: 77.11 kB / 0.5996 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.202, allocations: 3.984 kB / 0.5996 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.202, allocations: 8 kB / 0.5996 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2021, allocations: 3.984 kB / 0.5996 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2021, allocations: 8.031 kB / 0.5996 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.618e-05/0.2021, allocations: 83.28 kB / 0.5997 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2021, allocations: 0 / 0.5997 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002361/0.2024, allocations: 16 kB / 0.5997 GB, free: 3.613 MB / 0.4981 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 (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.0005614/0.2029, allocations: 0.7202 MB / 0.6004 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.2032, allocations: 31.97 kB / 0.6005 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2032, allocations: 3.938 kB / 0.6005 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.2033, allocations: 23.97 kB / 0.6005 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2037, allocations: 4 kB / 0.6005 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.2041, allocations: 151.1 kB / 0.6006 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2044, allocations: 0.6768 MB / 0.6013 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2044, allocations: 7.969 kB / 0.6013 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.2044, allocations: 11.44 kB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2044, allocations: 4 kB / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.2234, allocations: 1.573 MB / 0.6028 GB, free: 404 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.634, allocations: 6.984 kB / 0.6029 GB, free: 400 kB / 0.4981 GB (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)