Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 112.3 kB / 16.42 MB, free: 6.477 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.002074/0.002074, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8808/0.8808, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 66.58 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2066, allocations: 80.91 MB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005301/0.212, allocations: 3.712 MB / 0.6689 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.2148, allocations: 1.325 MB / 0.6702 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.2153, allocations: 23.88 kB / 0.6702 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.2156, allocations: 130.6 kB / 0.6703 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.2162, allocations: 189.3 kB / 0.6705 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2175, allocations: 0.5706 MB / 0.6711 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001109/0.2186, allocations: 0.9759 MB / 0.672 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.2192, allocations: 345.6 kB / 0.6724 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.2197, allocations: 374.5 kB / 0.6727 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.2201, allocations: 358 kB / 0.6731 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.2203, allocations: 80 kB / 0.6731 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.2204, allocations: 80 kB / 0.6732 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.2206, allocations: 187.2 kB / 0.6734 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.2209, allocations: 377.7 kB / 0.6737 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.2219, allocations: 0.8866 MB / 0.6746 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2219, allocations: 4 kB / 0.6746 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2219, allocations: 0 / 0.6746 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2219, allocations: 0 / 0.6746 GB, free: 12.25 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002123/0.224, allocations: 1.214 MB / 0.6758 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2241, allocations: 9.109 kB / 0.6758 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.2243, allocations: 100.3 kB / 0.6759 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.2254, allocations: 0.6228 MB / 0.6765 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.2255, allocations: 104.9 kB / 0.6766 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.2256, allocations: 56.38 kB / 0.6767 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.2267, allocations: 0.6003 MB / 0.6773 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.2267, allocations: 4 kB / 0.6773 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/0.2268, allocations: 20 kB / 0.6773 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.2268, allocations: 12 kB / 0.6773 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009338/0.2277, allocations: 427.6 kB / 0.6777 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00282/0.2305, allocations: 2.095 MB / 0.6797 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.2317, allocations: 0.5 MB / 0.6802 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.2322, allocations: 220.7 kB / 0.6804 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.2323, allocations: 7.984 kB / 0.6804 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006522/0.2329, allocations: 286 kB / 0.6807 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.946e-06/0.233, allocations: 3.938 kB / 0.6807 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001409/0.2344, allocations: 0.6118 MB / 0.6813 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.2344, allocations: 84.86 kB / 0.6814 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.2352, allocations: 0.6177 MB / 0.682 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.2352, allocations: 37.7 kB / 0.682 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.2355, allocations: 357.1 kB / 0.6824 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.2357, allocations: 170.6 kB / 0.6825 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.2359, allocations: 98.2 kB / 0.6826 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.236, allocations: 326 kB / 0.6829 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.2365, allocations: 183 kB / 0.6831 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.2369, allocations: 276.2 kB / 0.6834 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.2378, allocations: 473.9 kB / 0.6838 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2378, allocations: 0 / 0.6838 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001303/0.2392, allocations: 0.6064 MB / 0.6844 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.2392, allocations: 37.69 kB / 0.6845 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2392, allocations: 0 / 0.6845 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2392, allocations: 4 kB / 0.6845 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.2397, allocations: 116 kB / 0.6846 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.2398, allocations: 8 kB / 0.6846 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.2401, allocations: 63.59 kB / 0.6847 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.2402, allocations: 20 kB / 0.6847 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005222/0.2407, allocations: 305.2 kB / 0.685 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004463/0.2412, allocations: 276.2 kB / 0.6852 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008396/0.242, allocations: 450 kB / 0.6857 GB, free: 448 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-06/0.242, allocations: 0 / 0.6857 GB, free: 448 kB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001047/0.2431, allocations: 0.587 MB / 0.6862 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2431, allocations: 33.7 kB / 0.6863 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2431, allocations: 0 / 0.6863 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.2431, allocations: 8 kB / 0.6863 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.2436, allocations: 103.8 kB / 0.6864 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2436, allocations: 7.938 kB / 0.6864 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.2439, allocations: 51.72 kB / 0.6864 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.244, allocations: 16.16 kB / 0.6864 GB, free: 15.62 MB / 0.5294 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.2442, allocations: 228 kB / 0.6867 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.2443, allocations: 71.53 kB / 0.6867 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.2444, allocations: 79.22 kB / 0.6868 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2444, allocations: 3.984 kB / 0.6868 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2444, allocations: 0 / 0.6868 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.2447, allocations: 188.5 kB / 0.687 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.2447, allocations: 15.98 kB / 0.687 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.2451, allocations: 39.97 kB / 0.687 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2452, allocations: 31.89 kB / 0.6871 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001345/0.2466, allocations: 0.5588 MB / 0.6876 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001561/0.2482, allocations: 0.8975 MB / 0.6885 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004313/0.2486, allocations: 203.9 kB / 0.6887 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005999/0.2492, allocations: 435 kB / 0.6891 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of Backend: time 7.01e-07/0.2492, allocations: 4 kB / 0.6891 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.2508, allocations: 0.7078 MB / 0.6898 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002321/0.2531, allocations: 1.692 MB / 0.6914 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.01837/0.2715, allocations: 10.5 MB / 0.7017 GB, free: 15.95 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)