Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",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.008145/0.008145, allocations: 100.8 kB / 15.73 MB, free: 5.586 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.001409/0.001409, allocations: 195.3 kB / 16.67 MB, free: 5.523 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9098/0.9098, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 63.66 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2225, allocations: 80.91 MB / 0.6641 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003586/0.2262, allocations: 1.472 MB / 0.6656 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.2272, allocations: 442.9 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.2273, allocations: 4 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.2273, allocations: 3.938 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2275, allocations: 7.922 kB / 0.666 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.2277, allocations: 23.91 kB / 0.666 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.2279, allocations: 43.91 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.228, allocations: 23.94 kB / 0.6661 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.2281, allocations: 19.86 kB / 0.6661 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.2282, allocations: 23.91 kB / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2282, allocations: 4 kB / 0.6661 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.2283, allocations: 4 kB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.2283, allocations: 15.92 kB / 0.6661 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.2284, allocations: 23.92 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.2285, allocations: 46.64 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2286, allocations: 0 / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2286, allocations: 4 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.2286, allocations: 0 / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007353/0.2293, allocations: 356.3 kB / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.2294, allocations: 9.109 kB / 0.6666 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/0.2294, allocations: 34.73 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.2295, allocations: 8.938 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.2297, allocations: 176.2 kB / 0.6668 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2297, allocations: 384 / 0.6668 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2298, allocations: 4.375 kB / 0.6668 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.2299, allocations: 65.8 kB / 0.6668 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.23, allocations: 3.984 kB / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.23, allocations: 4 kB / 0.6668 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.23, allocations: 0 / 0.6668 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.2301, allocations: 27.92 kB / 0.6669 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.2307, allocations: 300.8 kB / 0.6672 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.2309, allocations: 58.56 kB / 0.6672 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.2309, allocations: 24.98 kB / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.231, allocations: 0 / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.2312, allocations: 75.28 kB / 0.6673 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2312, allocations: 0 / 0.6673 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002926/0.2315, allocations: 101.5 kB / 0.6674 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/0.2316, allocations: 63.41 kB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2317, allocations: 109.7 kB / 0.6676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2318, allocations: 29.7 kB / 0.6676 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.2318, allocations: 84.14 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.2319, allocations: 23.66 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.2319, allocations: 29.7 kB / 0.6677 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2321, allocations: 318.8 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.2322, allocations: 19.98 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.005e-05/0.2322, allocations: 47.36 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.2323, allocations: 67.36 kB / 0.6682 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2324, allocations: 0 / 0.6682 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001742/0.2325, allocations: 93.62 kB / 0.6683 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2326, allocations: 5.875 kB / 0.6683 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2326, allocations: 4.031 kB / 0.6683 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2326, allocations: 4 kB / 0.6683 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.2327, allocations: 16.05 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2327, allocations: 3.938 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.2328, allocations: 7.906 kB / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.2328, allocations: 11.94 kB / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001274/0.233, allocations: 118.1 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.233, allocations: 7.984 kB / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.233, allocations: 7.969 kB / 0.6684 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.233, allocations: 4 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.233, allocations: 0 / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.2331, allocations: 4 kB / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.2335, allocations: 362.3 kB / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2336, allocations: 0 / 0.6688 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.2336, allocations: 7.984 kB / 0.6688 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.2336, allocations: 480 / 0.6688 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2336, allocations: 3.938 kB / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2336, allocations: 7.875 kB / 0.6688 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2336, allocations: 4 kB / 0.6688 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.2338, allocations: 183.5 kB / 0.669 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.2339, allocations: 84.95 kB / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2339, allocations: 0 / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.234, allocations: 15.92 kB / 0.6691 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.2341, allocations: 4 kB / 0.6691 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2341, allocations: 7.984 kB / 0.6691 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.2342, allocations: 87.28 kB / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2342, allocations: 0 / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002439/0.2344, allocations: 12 kB / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005322/0.235, allocations: 0.7059 MB / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.2352, allocations: 59.97 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2352, allocations: 0 / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.083e-05/0.2353, allocations: 27.88 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.2356, allocations: 15.92 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.2371, allocations: 1.382 MB / 0.6713 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2374, allocations: 0.6807 MB / 0.672 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.2375, allocations: 7.984 kB / 0.672 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.2375, allocations: 19.44 kB / 0.672 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.2375, allocations: 3.938 kB / 0.672 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.2609, allocations: 1.777 MB / 0.6738 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.132, allocations: 4.062 kB / 0.6738 GB, free: 11.98 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)