Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,fileNamePrefix="BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample",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.001012/0.001012, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001024/0.001024, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 223.2 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.254/1.254, allocations: 143.4 MB / 434.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.001925/0.222, allocations: 0.877 MB / 0.5984 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2235, allocations: 0.6905 MB / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2238, allocations: 0 / 0.5991 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.2243, allocations: 247.4 kB / 0.5993 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.225, allocations: 203.4 kB / 0.5995 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.2257, allocations: 234.4 kB / 0.5997 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.2262, allocations: 311.1 kB / 0.6 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2264, allocations: 61.05 kB / 0.6001 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.2267, allocations: 147.3 kB / 0.6002 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.227, allocations: 207.2 kB / 0.6004 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.2271, allocations: 8 kB / 0.6004 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2272, allocations: 27.98 kB / 0.6004 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.2274, allocations: 151.5 kB / 0.6006 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.2275, allocations: 89.39 kB / 0.6007 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.2279, allocations: 375.3 kB / 0.601 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.228, allocations: 7.938 kB / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.228, allocations: 0 / 0.601 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.228, allocations: 0 / 0.601 GB, free: 4.125 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001487/0.2295, allocations: 0.8829 MB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2295, allocations: 12.02 kB / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.956e-05/0.2296, allocations: 46.56 kB / 0.6019 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2298, allocations: 63.19 kB / 0.602 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.2304, allocations: 467.7 kB / 0.6025 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.2305, allocations: 8 kB / 0.6025 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.2305, allocations: 11.94 kB / 0.6025 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.2312, allocations: 328.5 kB / 0.6028 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2312, allocations: 0 / 0.6028 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2313, allocations: 4 kB / 0.6028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.2313, allocations: 15.98 kB / 0.6028 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.2324, allocations: 479.4 kB / 0.6033 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.2337, allocations: 0.8712 MB / 0.6041 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.235, allocations: 0.5633 MB / 0.6047 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3825/0.6176, allocations: 241.1 kB / 0.6049 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.489e-05/0.6177, allocations: 6.938 kB / 0.6049 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6177, allocations: 36.06 kB / 0.6049 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 3.958e-06/0.6177, allocations: 0 / 0.6049 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001702/0.6194, allocations: 0.706 MB / 0.6056 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.6195, allocations: 80.08 kB / 0.6057 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6206, allocations: 0.8934 MB / 0.6066 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6206, allocations: 29.45 kB / 0.6066 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.6208, allocations: 278.5 kB / 0.6069 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.6209, allocations: 70.42 kB / 0.6069 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.6209, allocations: 0 / 0.6069 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6211, allocations: 379.2 kB / 0.6073 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.6215, allocations: 200.4 kB / 0.6075 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.622, allocations: 236.3 kB / 0.6077 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.6224, allocations: 188.4 kB / 0.6079 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6224, allocations: 3.469 kB / 0.6079 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001044/0.6235, allocations: 0.495 MB / 0.6084 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6235, allocations: 5.75 kB / 0.6084 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6235, allocations: 2.844 kB / 0.6084 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.6236, allocations: 7.625 kB / 0.6084 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.624, allocations: 96.56 kB / 0.6085 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.624, allocations: 3.094 kB / 0.6085 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.6243, allocations: 64.27 kB / 0.6085 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.6243, allocations: 10.97 kB / 0.6086 GB, free: 40.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.6246, allocations: 243.2 kB / 0.6088 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/0.6247, allocations: 63.3 kB / 0.6088 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.6258, allocations: 0.5491 MB / 0.6094 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6258, allocations: 4.078 kB / 0.6094 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6258, allocations: 2.875 kB / 0.6094 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6258, allocations: 4.359 kB / 0.6094 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.6263, allocations: 485.5 kB / 0.6099 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6263, allocations: 0 / 0.6099 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.6266, allocations: 94.42 kB / 0.6099 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6266, allocations: 2.875 kB / 0.61 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.6267, allocations: 6.344 kB / 0.61 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6267, allocations: 0 / 0.61 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6267, allocations: 7.094 kB / 0.61 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.6276, allocations: 0.6752 MB / 0.6106 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.861e-05/0.6277, allocations: 152.4 kB / 0.6108 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.6278, allocations: 9.797 kB / 0.6108 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.6281, allocations: 58.7 kB / 0.6108 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.6283, allocations: 89.77 kB / 0.6109 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.6283, allocations: 10.83 kB / 0.6109 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006152/0.6289, allocations: 0.6477 MB / 0.6116 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6289, allocations: 0 / 0.6116 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003648/0.6293, allocations: 67.89 kB / 0.6116 GB, free: 39.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.6312, allocations: 1.479 MB / 0.6131 GB, free: 38.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.6321, allocations: 464.9 kB / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6321, allocations: 0 / 0.6135 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.6326, allocations: 282.1 kB / 0.6138 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.6332, allocations: 80.23 kB / 0.6139 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.6386, allocations: 3.779 MB / 0.6176 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.6389, allocations: 0.8888 MB / 0.6184 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002341/0.6392, allocations: 106.7 kB / 0.6185 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.6394, allocations: 190.2 kB / 0.6187 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.6394, allocations: 0 / 0.6187 GB, free: 36.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.6601, allocations: 10.24 MB / 0.6287 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.6603, allocations: 254.8 kB / 0.6289 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.836, allocations: 0 / 0.6289 GB, free: 35.58 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BoundaryConditions_Scenarios_Examples_StepFunctionExample.fmu > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1) Environment - environmentSimulation: