Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_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.004168/0.004168, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.0009954/0.0009953, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 278.1 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 97.84 kB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1789, allocations: 86.98 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00234/0.1813, allocations: 1.459 MB / 0.7673 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.1819, allocations: 439.4 kB / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.1819, allocations: 0 / 0.7677 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.182, allocations: 7.922 kB / 0.7677 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.1821, allocations: 7.938 kB / 0.7677 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.1822, allocations: 19.97 kB / 0.7677 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.1823, allocations: 47.84 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1824, allocations: 16.27 kB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1824, allocations: 19.94 kB / 0.7678 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.1825, allocations: 23.91 kB / 0.7678 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1825, allocations: 4 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.1825, allocations: 4 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.1826, allocations: 23.91 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.1826, allocations: 15.94 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.01e-05/0.1827, allocations: 55.69 kB / 0.7679 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1827, allocations: 0 / 0.7679 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1827, allocations: 0 / 0.7679 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1827, allocations: 4 kB / 0.768 GB, free: 6.793 MB / 0.5606 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.0004228/0.1832, allocations: 363.3 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1832, allocations: 8.031 kB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.1832, allocations: 34.75 kB / 0.7683 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.1833, allocations: 8.938 kB / 0.7683 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.1834, allocations: 168.4 kB / 0.7685 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1834, allocations: 4.375 kB / 0.7685 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.1834, allocations: 4.375 kB / 0.7685 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1835, allocations: 61.69 kB / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1835, allocations: 0 / 0.7686 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1836, allocations: 15.97 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1836, allocations: 4 kB / 0.7686 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.533e-05/0.1836, allocations: 19.98 kB / 0.7686 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1841, allocations: 304.6 kB / 0.7689 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.421e-05/0.1842, allocations: 54.56 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.1842, allocations: 28.94 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.1842, allocations: 0 / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.1844, allocations: 71.42 kB / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1844, allocations: 0 / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000194/0.1846, allocations: 101.5 kB / 0.7691 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1846, allocations: 59.41 kB / 0.7692 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.1847, allocations: 105.8 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1847, allocations: 29.7 kB / 0.7693 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.1847, allocations: 88.05 kB / 0.7694 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.1848, allocations: 23.73 kB / 0.7694 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.1848, allocations: 29.66 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.1849, allocations: 322.8 kB / 0.7698 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.1849, allocations: 16 kB / 0.7698 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.185, allocations: 43.42 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.854e-05/0.1851, allocations: 67.36 kB / 0.7699 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1851, allocations: 4.375 kB / 0.7699 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001253/0.1852, allocations: 101.5 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1852, allocations: 4 kB / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1852, allocations: 0 / 0.77 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1853, allocations: 7.938 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.1853, allocations: 8 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1853, allocations: 4.031 kB / 0.77 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.1854, allocations: 7.984 kB / 0.77 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1854, allocations: 7.938 kB / 0.77 GB, free: 4.398 MB / 0.5606 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 7.802e-05/0.1855, allocations: 125.9 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.1855, allocations: 8.188 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.1856, allocations: 8.031 kB / 0.7702 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1856, allocations: 11.98 kB / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1856, allocations: 0 / 0.7702 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1856, allocations: 3.984 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.1859, allocations: 362.4 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1859, allocations: 0 / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.186, allocations: 4 kB / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.186, allocations: 0 / 0.7705 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.186, allocations: 4 kB / 0.7705 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.186, allocations: 3.938 kB / 0.7705 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.186, allocations: 0 / 0.7705 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.1861, allocations: 187.4 kB / 0.7707 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.1862, allocations: 77.11 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1862, allocations: 7.938 kB / 0.7708 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.1863, allocations: 11.92 kB / 0.7708 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1863, allocations: 7.984 kB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1863, allocations: 4 kB / 0.7708 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.428e-05/0.1864, allocations: 83.28 kB / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1864, allocations: 0 / 0.7709 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002259/0.1866, allocations: 15.91 kB / 0.7709 GB, free: 3.395 MB / 0.5606 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.0003722/0.187, allocations: 0.7281 MB / 0.7716 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1871, allocations: 51.92 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1871, allocations: 0 / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.1872, allocations: 24 kB / 0.7717 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1874, allocations: 19.92 kB / 0.7717 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1885, allocations: 1.379 MB / 0.7731 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1888, allocations: 0.6924 MB / 0.7737 GB, free: 364 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.1888, allocations: 4 kB / 0.7737 GB, free: 360 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1888, allocations: 23.42 kB / 0.7738 GB, free: 336 kB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1888, allocations: 3.938 kB / 0.7738 GB, free: 332 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/0.5243, allocations: 1.752 MB / 0.7755 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.251/7.775, allocations: 9.172 kB / 0.7755 GB, free: 14.38 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)