Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 175.7 MB / 480.1 MB, free: 2.77 MB / 366.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 65.89 kB / 0.6677 GB, free: 11.01 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1837, allocations: 94.53 MB / 0.76 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005308/0.189, allocations: 4.146 MB / 0.7641 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1913, allocations: 1.332 MB / 0.7654 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.1916, allocations: 23.88 kB / 0.7654 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.1919, allocations: 130.7 kB / 0.7655 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.1922, allocations: 190.4 kB / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.193, allocations: 425.1 kB / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.194, allocations: 0.9593 MB / 0.7671 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004769/0.1944, allocations: 306.2 kB / 0.7673 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.1948, allocations: 334.7 kB / 0.7677 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.1952, allocations: 334.4 kB / 0.768 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1953, allocations: 96 kB / 0.7681 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1954, allocations: 92 kB / 0.7682 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1956, allocations: 179.4 kB / 0.7683 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.1959, allocations: 386.1 kB / 0.7687 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.1969, allocations: 1.07 MB / 0.7697 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1969, allocations: 3.984 kB / 0.7698 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1969, allocations: 0 / 0.7698 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1969, allocations: 0 / 0.7698 GB, free: 6.832 MB / 0.5762 GB 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.001789/0.1987, allocations: 1.104 MB / 0.7708 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1988, allocations: 12.02 kB / 0.7708 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.1989, allocations: 98.7 kB / 0.7709 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.199, allocations: 84.42 kB / 0.771 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.1998, allocations: 0.5616 MB / 0.7716 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.1999, allocations: 45.69 kB / 0.7716 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2, allocations: 60.38 kB / 0.7717 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.201, allocations: 0.6115 MB / 0.7723 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.2011, allocations: 4 kB / 0.7723 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.2011, allocations: 23.94 kB / 0.7723 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2011, allocations: 16 kB / 0.7723 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000968/0.2021, allocations: 457 kB / 0.7727 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.2049, allocations: 2.009 MB / 0.7747 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/0.2058, allocations: 421 kB / 0.7751 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.2062, allocations: 222.1 kB / 0.7753 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2062, allocations: 8.438 kB / 0.7753 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.2068, allocations: 261.3 kB / 0.7756 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.2068, allocations: 0 / 0.7756 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.001265/0.208, allocations: 0.5962 MB / 0.7762 GB, free: 44 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2081, allocations: 55.84 kB / 0.7762 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004847/0.2086, allocations: 442.7 kB / 0.7766 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.2086, allocations: 37.7 kB / 0.7767 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.2089, allocations: 328.9 kB / 0.777 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.209, allocations: 174.5 kB / 0.7771 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.2092, allocations: 94.23 kB / 0.7772 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2093, allocations: 362.8 kB / 0.7776 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.2097, allocations: 165 kB / 0.7777 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.2102, allocations: 249.8 kB / 0.778 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.211, allocations: 452 kB / 0.7784 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.211, allocations: 4 kB / 0.7784 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001027/0.212, allocations: 0.5665 MB / 0.779 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.2121, allocations: 33.7 kB / 0.779 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2121, allocations: 4.25 kB / 0.779 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2121, allocations: 8 kB / 0.779 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.2126, allocations: 111.8 kB / 0.7791 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2126, allocations: 4 kB / 0.7791 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2129, allocations: 59.66 kB / 0.7792 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.2129, allocations: 16 kB / 0.7792 GB, free: 12.8 MB / 0.5919 GB 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.0002484/0.2132, allocations: 213.7 kB / 0.7794 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.2132, allocations: 59.61 kB / 0.7795 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2134, allocations: 65.58 kB / 0.7795 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2134, allocations: 8 kB / 0.7795 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2134, allocations: 0 / 0.7795 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2134, allocations: 3.984 kB / 0.7795 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.2151, allocations: 1.186 MB / 0.7807 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2151, allocations: 4 kB / 0.7807 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.2156, allocations: 87.89 kB / 0.7808 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2156, allocations: 4 kB / 0.7808 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.2156, allocations: 11.98 kB / 0.7808 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2156, allocations: 11.92 kB / 0.7808 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2156, allocations: 0 / 0.7808 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.217, allocations: 0.7654 MB / 0.7815 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.2171, allocations: 172.7 kB / 0.7817 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.2172, allocations: 15.94 kB / 0.7817 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2175, allocations: 23.97 kB / 0.7818 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.2176, allocations: 36.52 kB / 0.7818 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.2176, allocations: 16 kB / 0.7818 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003451/0.218, allocations: 314.9 kB / 0.7821 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.218, allocations: 0 / 0.7821 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004153/0.2184, allocations: 139.7 kB / 0.7822 GB, free: 9.59 MB / 0.5919 GB 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.001687/0.2201, allocations: 1.32 MB / 0.7835 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000905/0.221, allocations: 465.5 kB / 0.784 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.221, allocations: 4 kB / 0.784 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.2214, allocations: 202.4 kB / 0.7842 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.2221, allocations: 147.8 kB / 0.7843 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.2293, allocations: 4.821 MB / 0.789 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.2298, allocations: 0.886 MB / 0.7899 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.23, allocations: 68.58 kB / 0.7899 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.2304, allocations: 215.4 kB / 0.7901 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.2304, allocations: 4 kB / 0.7902 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.2688, allocations: 11.35 MB / 0.8012 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.368, allocations: 16.56 kB / 0.8013 GB, free: 6.082 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.171952603006503]