Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",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.001121/0.001121, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001209/0.001209, allocations: 188.6 kB / 16.25 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.523 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 1.036/1.036, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 82.04 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.002113/0.2278, allocations: 0.6452 MB / 0.5946 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.2281, allocations: 43.86 kB / 0.5946 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.037e-05/0.2281, allocations: 4 kB / 0.5946 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.2281, allocations: 0 / 0.5946 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.2281, allocations: 0 / 0.5946 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2284, allocations: 15.98 kB / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.136e-05/0.2285, allocations: 0 / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.2285, allocations: 0 / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.2286, allocations: 3.938 kB / 0.5946 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.786e-05/0.2286, allocations: 4 kB / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2286, allocations: 3.938 kB / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.2287, allocations: 23.97 kB / 0.5946 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.2288, allocations: 7.984 kB / 0.5947 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.2288, allocations: 4 kB / 0.5947 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.2289, allocations: 11.98 kB / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2289, allocations: 0 / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2289, allocations: 0 / 0.5947 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2289, allocations: 0 / 0.5947 GB, free: 9.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003538/0.2293, allocations: 315.6 kB / 0.595 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2293, allocations: 12.03 kB / 0.595 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.2294, allocations: 30.75 kB / 0.595 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.2297, allocations: 20.91 kB / 0.595 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.2298, allocations: 160.4 kB / 0.5952 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2298, allocations: 384 / 0.5952 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.2298, allocations: 384 / 0.5952 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.23, allocations: 34.25 kB / 0.5952 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.23, allocations: 11.88 kB / 0.5952 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.23, allocations: 0 / 0.5952 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.23, allocations: 0 / 0.5952 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.2301, allocations: 15.92 kB / 0.5952 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.2303, allocations: 149.7 kB / 0.5954 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.206e-05/0.2303, allocations: 18.61 kB / 0.5954 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.2304, allocations: 16.91 kB / 0.5954 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2304, allocations: 0 / 0.5954 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2305, allocations: 42.56 kB / 0.5955 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.497e-06/0.2305, allocations: 0 / 0.5955 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000229/0.2307, allocations: 53.48 kB / 0.5955 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2308, allocations: 55.41 kB / 0.5956 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.392e-05/0.2308, allocations: 89.86 kB / 0.5956 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2308, allocations: 25.7 kB / 0.5957 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.2309, allocations: 80.14 kB / 0.5958 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.2309, allocations: 8.031 kB / 0.5958 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.231, allocations: 13.72 kB / 0.5958 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2311, allocations: 314.8 kB / 0.5961 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.2311, allocations: 3.984 kB / 0.5961 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.2312, allocations: 4 kB / 0.5961 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.2313, allocations: 16.84 kB / 0.5961 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2313, allocations: 4.062 kB / 0.5961 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.2314, allocations: 45.61 kB / 0.5961 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2314, allocations: 8 kB / 0.5962 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2314, allocations: 3.938 kB / 0.5962 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2314, allocations: 0 / 0.5962 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.2315, allocations: 4 kB / 0.5962 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2315, allocations: 4 kB / 0.5962 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.2316, allocations: 3.984 kB / 0.5962 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2316, allocations: 4.031 kB / 0.5962 GB, free: 7.246 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 (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 9.725e-05/0.2317, allocations: 113.8 kB / 0.5963 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.2317, allocations: 3.984 kB / 0.5963 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2317, allocations: 7.062 kB / 0.5963 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2318, allocations: 0 / 0.5963 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.2318, allocations: 0 / 0.5963 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2318, allocations: 0 / 0.5963 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.2319, allocations: 145.7 kB / 0.5964 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2319, allocations: 4 kB / 0.5964 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.2319, allocations: 4 kB / 0.5964 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.232, allocations: 0 / 0.5964 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.232, allocations: 7.938 kB / 0.5964 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.232, allocations: 0 / 0.5964 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.232, allocations: 7.875 kB / 0.5965 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2321, allocations: 65.11 kB / 0.5965 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.2322, allocations: 77.42 kB / 0.5966 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.2322, allocations: 11.94 kB / 0.5966 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.2323, allocations: 3.938 kB / 0.5966 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2323, allocations: 3.984 kB / 0.5966 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2323, allocations: 0 / 0.5966 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.173e-05/0.2323, allocations: 75.28 kB / 0.5967 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2323, allocations: 0 / 0.5967 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001727/0.2325, allocations: 4 kB / 0.5967 GB, free: 6.629 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 (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.0004851/0.233, allocations: 0.6046 MB / 0.5973 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2332, allocations: 15.97 kB / 0.5973 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2332, allocations: 0 / 0.5973 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.2332, allocations: 12.09 kB / 0.5973 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2334, allocations: 3.938 kB / 0.5973 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.2337, allocations: 110.6 kB / 0.5974 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.234, allocations: 0.6768 MB / 0.5981 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.724e-05/0.234, allocations: 8 kB / 0.5981 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.2341, allocations: 11.38 kB / 0.5981 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.2341, allocations: 0 / 0.5981 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.245, allocations: 0.8504 MB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.2453, allocations: 203.2 kB / 0.5991 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/1.972, allocations: 0 / 0.5991 GB, free: 4.109 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)