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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 113.7 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 189.1 kB / 17.3 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.8757/0.8757, allocations: 143 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 59.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3842, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002307/0.3865, allocations: 1.437 MB / 0.5971 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005996/0.3871, allocations: 387.5 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.3872, allocations: 1.344 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.3872, allocations: 3.938 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.3873, allocations: 3.984 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.3876, allocations: 121.4 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.3877, allocations: 27.92 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.3878, allocations: 5.062 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.3879, allocations: 11.92 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.3879, allocations: 9.156 kB / 0.5976 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3879, allocations: 4 kB / 0.5976 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.3882, allocations: 275.6 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.3882, allocations: 9.062 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.3883, allocations: 11.94 kB / 0.5979 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3884, allocations: 107.8 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3885, allocations: 1.031 kB / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3885, allocations: 0 / 0.598 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3885, allocations: 0 / 0.598 GB, free: 13.73 MB / 446.1 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.0004459/0.3889, allocations: 368.9 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.389, allocations: 12.03 kB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.389, allocations: 2.125 kB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.3891, allocations: 168.3 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3891, allocations: 384 / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3892, allocations: 5 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3893, allocations: 55.45 kB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3894, allocations: 4.125 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3894, allocations: 3.938 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3894, allocations: 1.406 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3895, allocations: 35.95 kB / 0.5987 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3898, allocations: 246.4 kB / 0.5989 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.39, allocations: 44.06 kB / 0.5989 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.509e-05/0.39, allocations: 20.91 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005705/0.3906, allocations: 465.7 kB / 0.5994 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3906, allocations: 34.56 kB / 0.5994 GB, free: 12.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/0.3906, allocations: 1.469 kB / 0.5994 GB, free: 12.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.391, allocations: 78.23 kB / 0.5995 GB, free: 11.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.391, allocations: 56.91 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.3911, allocations: 101.8 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.3911, allocations: 33.64 kB / 0.5997 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3911, allocations: 87.47 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.3912, allocations: 3.906 kB / 0.5998 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.3912, allocations: 17.72 kB / 0.5998 GB, free: 11.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.3912, allocations: 315.6 kB / 0.6001 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.3913, allocations: 17.48 kB / 0.6001 GB, free: 11.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.986e-05/0.3914, allocations: 19.92 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3915, allocations: 37.95 kB / 0.6002 GB, free: 11.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3915, allocations: 0.9062 kB / 0.6002 GB, free: 11.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.3917, allocations: 78.88 kB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3917, allocations: 4 kB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3917, allocations: 0.9375 kB / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3917, allocations: 0 / 0.6002 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.3918, allocations: 13.3 kB / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3918, allocations: 0 / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3919, allocations: 7.984 kB / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.3919, allocations: 1.5 kB / 0.6003 GB, free: 11.15 MB / 446.1 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.955e-05/0.3919, allocations: 113.7 kB / 0.6004 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.392, allocations: 8 kB / 0.6004 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.3922, allocations: 71.44 kB / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3922, allocations: 0 / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3922, allocations: 256 / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3922, allocations: 0.6562 kB / 0.6005 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.3923, allocations: 173.6 kB / 0.6006 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3923, allocations: 6.5 kB / 0.6006 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.3924, allocations: 7.984 kB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3924, allocations: 0 / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.3924, allocations: 3.984 kB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3924, allocations: 0 / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3924, allocations: 11.92 kB / 0.6007 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3926, allocations: 166.2 kB / 0.6008 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3926, allocations: 88.95 kB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3927, allocations: 0 / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3927, allocations: 9.328 kB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3928, allocations: 0 / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3928, allocations: 4 kB / 0.6009 GB, free: 10.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.202e-05/0.3928, allocations: 92.55 kB / 0.601 GB, free: 10.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3928, allocations: 0 / 0.601 GB, free: 10.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002209/0.393, allocations: 12 kB / 0.601 GB, free: 10.3 MB / 446.1 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.0001369/0.3932, allocations: 108.8 kB / 0.6011 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3934, allocations: 45.23 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3934, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.3935, allocations: 21.05 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3937, allocations: 3.938 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.3939, allocations: 107.9 kB / 0.6013 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.3941, allocations: 0.6807 MB / 0.6019 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.968e-05/0.3941, allocations: 0 / 0.6019 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.3941, allocations: 8.844 kB / 0.602 GB, free: 9.277 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3941, allocations: 0 / 0.602 GB, free: 9.277 MB / 446.1 MB Notification: Performance of Templates: time 0.002767/0.3969, allocations: 0.722 MB / 0.6027 GB, free: 8.586 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)