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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.01016/0.01015, allocations: 98.17 kB / 15.73 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.002176/0.002176, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9513/0.9513, allocations: 143.3 MB / 433.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 70.64 kB / 0.5954 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.203, allocations: 82.03 MB / 0.6755 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001861/0.2049, allocations: 0.5857 MB / 0.676 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000309/0.2052, allocations: 43.8 kB / 0.6761 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.2053, allocations: 4 kB / 0.6761 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.2053, allocations: 4 kB / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.2053, allocations: 0 / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.2056, allocations: 19.91 kB / 0.6761 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.654e-05/0.2056, allocations: 0 / 0.6761 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.2057, allocations: 0 / 0.6761 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.2057, allocations: 7.984 kB / 0.6761 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.288e-05/0.2057, allocations: 3.938 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2058, allocations: 0 / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2059, allocations: 19.98 kB / 0.6761 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.2059, allocations: 0 / 0.6761 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.2059, allocations: 4 kB / 0.6761 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.206, allocations: 19.91 kB / 0.6762 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.206, allocations: 4 kB / 0.6762 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.206, allocations: 0 / 0.6762 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.2061, allocations: 0 / 0.6762 GB, free: 9.84 MB / 0.5137 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.0003527/0.2064, allocations: 319.8 kB / 0.6765 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2065, allocations: 8.031 kB / 0.6765 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2065, allocations: 30.75 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.2068, allocations: 20.91 kB / 0.6765 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2069, allocations: 164.4 kB / 0.6767 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.2069, allocations: 4.375 kB / 0.6767 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2069, allocations: 384 / 0.6767 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2071, allocations: 38.19 kB / 0.6767 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2071, allocations: 3.938 kB / 0.6767 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2071, allocations: 0 / 0.6767 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2072, allocations: 0 / 0.6767 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2073, allocations: 11.98 kB / 0.6767 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.2074, allocations: 150 kB / 0.6769 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.2075, allocations: 22.59 kB / 0.6769 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.2076, allocations: 4.922 kB / 0.6769 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2076, allocations: 4 kB / 0.6769 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.2077, allocations: 38.5 kB / 0.6769 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2077, allocations: 4 kB / 0.6769 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002713/0.208, allocations: 53.61 kB / 0.677 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.208, allocations: 55.41 kB / 0.677 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.2081, allocations: 89.86 kB / 0.6771 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2081, allocations: 25.7 kB / 0.6772 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.2082, allocations: 80.14 kB / 0.6772 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.2082, allocations: 3.953 kB / 0.6772 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.2083, allocations: 21.83 kB / 0.6773 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2084, allocations: 310.8 kB / 0.6776 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.2085, allocations: 4 kB / 0.6776 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.2085, allocations: 7.922 kB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/0.2086, allocations: 24.78 kB / 0.6776 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2086, allocations: 0 / 0.6776 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001311/0.2088, allocations: 45.75 kB / 0.6776 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2088, allocations: 4 kB / 0.6776 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2088, allocations: 3.938 kB / 0.6776 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2088, allocations: 3.938 kB / 0.6776 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.2089, allocations: 7.984 kB / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2089, allocations: 0 / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.209, allocations: 0 / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.209, allocations: 0 / 0.6777 GB, free: 8.07 MB / 0.5137 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 0.0001001/0.2091, allocations: 113.9 kB / 0.6778 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.2091, allocations: 3.984 kB / 0.6778 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.2091, allocations: 7.062 kB / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2091, allocations: 0 / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2092, allocations: 0 / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2092, allocations: 0 / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2093, allocations: 157.6 kB / 0.6779 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2093, allocations: 0 / 0.6779 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.2094, allocations: 0 / 0.6779 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2094, allocations: 11.98 kB / 0.6779 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2094, allocations: 3.938 kB / 0.6779 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2094, allocations: 0 / 0.6779 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2094, allocations: 0 / 0.6779 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.2096, allocations: 65.12 kB / 0.678 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.2096, allocations: 77.11 kB / 0.6781 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2096, allocations: 3.938 kB / 0.6781 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.279e-05/0.2097, allocations: 8.016 kB / 0.6781 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.2097, allocations: 0 / 0.6781 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.2097, allocations: 4 kB / 0.6781 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.2098, allocations: 75.28 kB / 0.6782 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2098, allocations: 0 / 0.6782 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001717/0.2099, allocations: 0 / 0.6782 GB, free: 7.457 MB / 0.5137 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.0004795/0.2104, allocations: 0.6085 MB / 0.6788 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.2106, allocations: 11.98 kB / 0.6788 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2106, allocations: 0 / 0.6788 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.2106, allocations: 7.938 kB / 0.6788 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2108, allocations: 16.03 kB / 0.6788 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.2111, allocations: 114.6 kB / 0.6789 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.2114, allocations: 0.669 MB / 0.6796 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.2114, allocations: 0 / 0.6796 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.2115, allocations: 11.44 kB / 0.6796 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2115, allocations: 4 kB / 0.6796 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.235, allocations: 0.9538 MB / 0.6805 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.084, allocations: 7.188 kB / 0.6805 GB, free: 5.055 MB / 0.5137 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)