Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.001193/0.001193, allocations: 108 kB / 16.27 MB, free: 5.98 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.001056/0.001056, allocations: 189.9 kB / 17.19 MB, free: 5.609 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.203/1.203, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2786, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004188/0.2828, allocations: 4.091 MB / 0.5713 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2845, allocations: 1.318 MB / 0.5726 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.2848, allocations: 26.28 kB / 0.5726 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.2851, allocations: 129 kB / 0.5727 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2854, allocations: 175.2 kB / 0.5729 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.286, allocations: 423.8 kB / 0.5733 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006478/0.2867, allocations: 0.9529 MB / 0.5742 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.2872, allocations: 462.2 kB / 0.5746 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.2875, allocations: 326.9 kB / 0.575 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.2877, allocations: 338.3 kB / 0.5753 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.2879, allocations: 91.16 kB / 0.5754 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.288, allocations: 92.06 kB / 0.5755 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2881, allocations: 176.1 kB / 0.5756 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2884, allocations: 395.4 kB / 0.576 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008367/0.2892, allocations: 1.028 MB / 0.577 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2892, allocations: 3.031 kB / 0.577 GB, free: 26.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2892, allocations: 1.125 kB / 0.577 GB, free: 26.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2892, allocations: 0 / 0.577 GB, free: 26.47 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001477/0.2907, allocations: 1.087 MB / 0.5781 GB, free: 25.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2908, allocations: 10.16 kB / 0.5781 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.2909, allocations: 101.8 kB / 0.5782 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.291, allocations: 82.05 kB / 0.5783 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.2916, allocations: 0.5461 MB / 0.5788 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.2917, allocations: 51.39 kB / 0.5788 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/0.2917, allocations: 59.83 kB / 0.5789 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.2927, allocations: 0.61 MB / 0.5795 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2927, allocations: 1.828 kB / 0.5795 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.2927, allocations: 26.47 kB / 0.5795 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2928, allocations: 14.72 kB / 0.5795 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008686/0.2936, allocations: 458.3 kB / 0.58 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.2958, allocations: 2.023 MB / 0.5819 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.2966, allocations: 451.4 kB / 0.5824 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.297, allocations: 240.9 kB / 0.5826 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.297, allocations: 9.453 kB / 0.5826 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.2975, allocations: 264.2 kB / 0.5829 GB, free: 22.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.903e-06/0.2975, allocations: 1.469 kB / 0.5829 GB, free: 22.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001098/0.2986, allocations: 0.5781 MB / 0.5834 GB, free: 22.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2986, allocations: 58.12 kB / 0.5835 GB, free: 22.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.299, allocations: 446.6 kB / 0.5839 GB, free: 22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.299, allocations: 37.23 kB / 0.5839 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2992, allocations: 325.5 kB / 0.5843 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.2993, allocations: 165.8 kB / 0.5844 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2994, allocations: 92.88 kB / 0.5845 GB, free: 21.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.2994, allocations: 370.5 kB / 0.5849 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.2998, allocations: 167.6 kB / 0.585 GB, free: 21.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.3001, allocations: 250 kB / 0.5853 GB, free: 20.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.3008, allocations: 453.1 kB / 0.5857 GB, free: 20.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3008, allocations: 1.906 kB / 0.5857 GB, free: 20.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008891/0.3017, allocations: 0.5646 MB / 0.5862 GB, free: 20.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.3018, allocations: 37.06 kB / 0.5863 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3018, allocations: 6.656 kB / 0.5863 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3018, allocations: 4.5 kB / 0.5863 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.3023, allocations: 115.8 kB / 0.5864 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3023, allocations: 4.406 kB / 0.5864 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.3026, allocations: 54.02 kB / 0.5865 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3026, allocations: 21.98 kB / 0.5865 GB, free: 20.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001795/0.3028, allocations: 210.7 kB / 0.5867 GB, free: 19.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.3028, allocations: 58.28 kB / 0.5867 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.303, allocations: 66.23 kB / 0.5868 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.303, allocations: 4.219 kB / 0.5868 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.303, allocations: 1.438 kB / 0.5868 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.303, allocations: 0 / 0.5868 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.3043, allocations: 1.175 MB / 0.5879 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3043, allocations: 2.031 kB / 0.5879 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.3048, allocations: 96.78 kB / 0.588 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3048, allocations: 2.625 kB / 0.588 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.3048, allocations: 10.56 kB / 0.5881 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3048, allocations: 2.344 kB / 0.5881 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3048, allocations: 9.578 kB / 0.5881 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.3059, allocations: 0.7608 MB / 0.5888 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.3061, allocations: 172 kB / 0.589 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.3061, allocations: 7.969 kB / 0.589 GB, free: 18.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.3064, allocations: 27 kB / 0.589 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.3065, allocations: 35.61 kB / 0.589 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3065, allocations: 13.81 kB / 0.589 GB, free: 18.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.3068, allocations: 307.9 kB / 0.5893 GB, free: 18.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3068, allocations: 0 / 0.5893 GB, free: 18.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003934/0.3072, allocations: 147.2 kB / 0.5895 GB, free: 18.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001257/0.3085, allocations: 1.312 MB / 0.5908 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.3094, allocations: 0.4911 MB / 0.5912 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3094, allocations: 0 / 0.5912 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.3098, allocations: 220 kB / 0.5915 GB, free: 16.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.3105, allocations: 157.7 kB / 0.5916 GB, free: 16.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.316, allocations: 4.895 MB / 0.5964 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3162, allocations: 0.886 MB / 0.5972 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00025/0.3165, allocations: 64.58 kB / 0.5973 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.3167, allocations: 219.4 kB / 0.5975 GB, free: 11.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3167, allocations: 0 / 0.5975 GB, free: 11.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.443/1.759, allocations: 11.11 MB / 0.6084 GB, free: 304 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.44, allocations: 17.05 kB / 0.6084 GB, free: 292 kB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)