Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.601/2.601, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001382/0.001382, allocations: 172.6 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009221/0.0009218, allocations: 81.67 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004956, allocations: 11.52 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2171, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.007586/0.2248, allocations: 3.142 MB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004943/0.2298, allocations: 1.31 MB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2309, allocations: 27.88 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.2313, allocations: 87.05 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.232, allocations: 135 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.2338, allocations: 475.1 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2352, allocations: 0.816 MB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.2358, allocations: 255.2 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.2364, allocations: 274.5 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.2367, allocations: 262.3 kB / 0.985 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.2369, allocations: 24 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.237, allocations: 20 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.2371, allocations: 107.4 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.2373, allocations: 141.2 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.238, allocations: 0.6198 MB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.238, allocations: 0 / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.238, allocations: 0 / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.238, allocations: 0 / 0.9859 GB, free: 20.56 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.00276/0.2408, allocations: 1.073 MB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.2409, allocations: 16 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.2411, allocations: 98.52 kB / 0.9871 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.2413, allocations: 94.83 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.2426, allocations: 0.5707 MB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.2428, allocations: 104.3 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2429, allocations: 48 kB / 0.9879 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2445, allocations: 0.6119 MB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2446, allocations: 0 / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.2447, allocations: 20 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2447, allocations: 12 kB / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.2462, allocations: 451.6 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.2502, allocations: 2.137 MB / 0.991 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.2522, allocations: 0.5069 MB / 0.9915 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/0.253, allocations: 228.7 kB / 0.9917 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.2531, allocations: 11.98 kB / 0.9917 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009953/0.2541, allocations: 290.1 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.847e-06/0.2541, allocations: 0 / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.00232/0.2564, allocations: 0.6372 MB / 0.9926 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.2565, allocations: 88.86 kB / 0.9927 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008909/0.2574, allocations: 0.6139 MB / 0.9933 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.2575, allocations: 33.7 kB / 0.9934 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.2578, allocations: 360.8 kB / 0.9937 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.258, allocations: 165.7 kB / 0.9939 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.258, allocations: 15.94 kB / 0.9939 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.2581, allocations: 322 kB / 0.9942 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/0.2589, allocations: 185 kB / 0.9944 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.2596, allocations: 292.2 kB / 0.9946 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.2604, allocations: 234.4 kB / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2604, allocations: 0 / 0.9949 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001869/0.2623, allocations: 0.6063 MB / 0.9954 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.2625, allocations: 200.6 kB / 0.9956 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2625, allocations: 0 / 0.9956 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.2625, allocations: 8 kB / 0.9956 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/0.2635, allocations: 111.8 kB / 0.9958 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.2635, allocations: 7.938 kB / 0.9958 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.2642, allocations: 75.41 kB / 0.9958 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.2643, allocations: 16 kB / 0.9958 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2643, allocations: 4 kB / 0.9959 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/0.2659, allocations: 0.5037 MB / 0.9963 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2659, allocations: 0 / 0.9963 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2659, allocations: 11.94 kB / 0.9964 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.2668, allocations: 112.1 kB / 0.9965 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2668, allocations: 4 kB / 0.9965 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.2675, allocations: 55.52 kB / 0.9965 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.2675, allocations: 20 kB / 0.9965 GB, free: 9.262 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.000402/0.2679, allocations: 278.2 kB / 0.9968 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.2681, allocations: 79.06 kB / 0.9969 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.2683, allocations: 79.34 kB / 0.997 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2683, allocations: 4 kB / 0.997 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.2683, allocations: 4 kB / 0.997 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2683, allocations: 3.984 kB / 0.997 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.2692, allocations: 0.6219 MB / 0.9976 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2692, allocations: 0 / 0.9976 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/0.2701, allocations: 95.88 kB / 0.9977 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.2701, allocations: 0 / 0.9977 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.2701, allocations: 8 kB / 0.9977 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.2701, allocations: 4 kB / 0.9977 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2702, allocations: 0 / 0.9977 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002424/0.2726, allocations: 0.7525 MB / 0.9984 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.273, allocations: 188.2 kB / 0.9986 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.2731, allocations: 15.98 kB / 0.9986 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.2738, allocations: 43.97 kB / 0.9986 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.274, allocations: 27.95 kB / 0.9987 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/0.274, allocations: 19.98 kB / 0.9987 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007016/0.2747, allocations: 427 kB / 0.9991 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2748, allocations: 3.938 kB / 0.9991 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000915/0.2757, allocations: 219.2 kB / 0.9993 GB, free: 6.32 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.002646/0.2783, allocations: 1.304 MB / 1.001 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.2808, allocations: 0.812 MB / 1.001 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2809, allocations: 0 / 1.001 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007494/0.2816, allocations: 224.7 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.2832, allocations: 185.9 kB / 1.002 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/0.2924, allocations: 4.018 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/0.2931, allocations: 0.9144 MB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000733/0.2939, allocations: 93.19 kB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.2944, allocations: 267.3 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.2945, allocations: 3.938 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05409/0.3486, allocations: 13.29 MB / 1.02 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/0.3489, allocations: 187.1 kB / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.323, allocations: 0 / 1.02 GB, free: 1.016 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)