Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.001061, allocations: 190.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.000827, allocations: 90.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003844, allocations: 10.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003446/0.2108, allocations: 3.147 MB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.2133, allocations: 1.256 MB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007154/0.2141, allocations: 23.88 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.2143, allocations: 47.39 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009452/0.2153, allocations: 195.2 kB / 0.984 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.2164, allocations: 466 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.2173, allocations: 0.5983 MB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.2177, allocations: 262.9 kB / 0.9853 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.2181, allocations: 302.5 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.2183, allocations: 258.4 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.2184, allocations: 20 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.2185, allocations: 20 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.2185, allocations: 107.4 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.501e-05/0.2186, allocations: 149.2 kB / 0.9861 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.2191, allocations: 0.6198 MB / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2191, allocations: 0 / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2191, allocations: 0 / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2191, allocations: 0 / 0.9867 GB, free: 20.17 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001709/0.2208, allocations: 1.071 MB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2209, allocations: 16.02 kB / 0.9878 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.221, allocations: 90.52 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2211, allocations: 94.88 kB / 0.988 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.2219, allocations: 0.5745 MB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.222, allocations: 100.4 kB / 0.9886 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.649e-05/0.2221, allocations: 56 kB / 0.9887 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/0.223, allocations: 0.6041 MB / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.223, allocations: 0 / 0.9893 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.2231, allocations: 28 kB / 0.9893 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2231, allocations: 12 kB / 0.9893 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.2239, allocations: 443.6 kB / 0.9897 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.2262, allocations: 2.129 MB / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2273, allocations: 0.5231 MB / 0.9923 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.2274, allocations: 20.47 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005969/0.228, allocations: 290.7 kB / 0.9926 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.228, allocations: 7.938 kB / 0.9926 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001272/0.2293, allocations: 0.6305 MB / 0.9932 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.2293, allocations: 88.86 kB / 0.9933 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.2299, allocations: 0.6216 MB / 0.9939 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.2299, allocations: 33.7 kB / 0.994 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.2301, allocations: 368.8 kB / 0.9943 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.2302, allocations: 149.8 kB / 0.9944 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.2303, allocations: 12 kB / 0.9945 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.2303, allocations: 329.9 kB / 0.9948 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.2307, allocations: 185 kB / 0.9949 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2312, allocations: 280.2 kB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.2316, allocations: 234.4 kB / 0.9954 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2316, allocations: 0 / 0.9954 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001001/0.2326, allocations: 0.6139 MB / 0.996 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.2328, allocations: 0.9947 MB / 0.997 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2328, allocations: 4 kB / 0.997 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2329, allocations: 4 kB / 0.997 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.2333, allocations: 115.8 kB / 0.9971 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2333, allocations: 8 kB / 0.9971 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2337, allocations: 67.41 kB / 0.9972 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.2337, allocations: 20 kB / 0.9972 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.2338, allocations: 8 kB / 0.9972 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008288/0.2346, allocations: 0.4999 MB / 0.9977 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2346, allocations: 4 kB / 0.9977 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.2346, allocations: 7.953 kB / 0.9977 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.2351, allocations: 103.8 kB / 0.9978 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2351, allocations: 4 kB / 0.9978 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.2354, allocations: 67.72 kB / 0.9979 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2354, allocations: 16 kB / 0.9979 GB, free: 8.246 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0002559/0.2357, allocations: 273.7 kB / 0.9982 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.2358, allocations: 67.16 kB / 0.9982 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2359, allocations: 87.28 kB / 0.9983 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2359, allocations: 4 kB / 0.9983 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.236, allocations: 0 / 0.9983 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.236, allocations: 7.984 kB / 0.9983 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.2365, allocations: 0.6219 MB / 0.9989 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2365, allocations: 3.938 kB / 0.9989 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.237, allocations: 87.88 kB / 0.999 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.237, allocations: 4 kB / 0.999 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.237, allocations: 12 kB / 0.999 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.237, allocations: 3.953 kB / 0.999 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.237, allocations: 0 / 0.999 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2383, allocations: 0.751 MB / 0.9998 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.2385, allocations: 196.1 kB / 1 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.2386, allocations: 11.98 kB / 1 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.239, allocations: 47.95 kB / 1 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.935e-05/0.2391, allocations: 35.91 kB / 1 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.2391, allocations: 15.98 kB / 1 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003896/0.2395, allocations: 427 kB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2395, allocations: 0 / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005546/0.2401, allocations: 227.2 kB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00148/0.2416, allocations: 1.308 MB / 1.002 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.2429, allocations: 0.8009 MB / 1.003 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.243, allocations: 0 / 1.003 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.2434, allocations: 228.1 kB / 1.003 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007779/0.2442, allocations: 172.5 kB / 1.003 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.2471, allocations: 3.303 MB / 1.006 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.2476, allocations: 0.9339 MB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004617/0.2481, allocations: 97.39 kB / 1.007 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.2485, allocations: 263.3 kB / 1.008 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.2485, allocations: 0 / 1.008 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.277, allocations: 12.9 MB / 1.02 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.2773, allocations: 181.7 kB / 1.02 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.381, allocations: 0 / 1.02 GB, free: 1.09 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)