Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007708/0.0007708, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005168/0.005168, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 270.7 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9326/0.9326, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 17.84 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004743/0.1593, allocations: 3.802 MB / 0.6888 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.1628, allocations: 2.181 MB / 0.691 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.1629, allocations: 7.938 kB / 0.691 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1632, allocations: 64.08 kB / 0.691 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.1637, allocations: 257.8 kB / 0.6913 GB, free: 8.773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.1644, allocations: 318.4 kB / 0.6916 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.1651, allocations: 0.8064 MB / 0.6924 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.1663, allocations: 0.6515 MB / 0.693 GB, free: 7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.1665, allocations: 179.3 kB / 0.6932 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.1669, allocations: 267 kB / 0.6934 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.167, allocations: 16 kB / 0.6935 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.1674, allocations: 291.4 kB / 0.6937 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.1676, allocations: 163.5 kB / 0.6939 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.1678, allocations: 216.6 kB / 0.6941 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.1684, allocations: 0.6151 MB / 0.6947 GB, free: 5.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1684, allocations: 7.938 kB / 0.6947 GB, free: 5.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1684, allocations: 4 kB / 0.6947 GB, free: 5.254 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1684, allocations: 0 / 0.6947 GB, free: 5.254 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009768/0.1694, allocations: 0.6357 MB / 0.6953 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1695, allocations: 8.031 kB / 0.6953 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009638/0.1704, allocations: 140.2 kB / 0.6955 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.1708, allocations: 325.1 kB / 0.6958 GB, free: 4.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1709, allocations: 29.38 kB / 0.6958 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.171, allocations: 48.25 kB / 0.6959 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008694/0.1718, allocations: 0.6186 MB / 0.6965 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1719, allocations: 7.938 kB / 0.6965 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.1719, allocations: 16 kB / 0.6965 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.541e-05/0.172, allocations: 40.62 kB / 0.6965 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.1727, allocations: 478.1 kB / 0.697 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.176, allocations: 3.424 MB / 0.7003 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.1767, allocations: 372.9 kB / 0.7007 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.177, allocations: 173.6 kB / 0.7008 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.177, allocations: 4 kB / 0.7008 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.177, allocations: 34.97 kB / 0.7009 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.177, allocations: 0 / 0.7009 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004643/0.1817, allocations: 1.47 MB / 0.7023 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1817, allocations: 77.11 kB / 0.7024 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.1821, allocations: 332.4 kB / 0.7027 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1821, allocations: 33.69 kB / 0.7027 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1823, allocations: 259.3 kB / 0.703 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.1824, allocations: 102.6 kB / 0.7031 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.1824, allocations: 41.7 kB / 0.7031 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1826, allocations: 338.8 kB / 0.7034 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.1829, allocations: 177 kB / 0.7036 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.1833, allocations: 346 kB / 0.7039 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1839, allocations: 0.5314 MB / 0.7045 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1839, allocations: 0 / 0.7045 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002298/0.1862, allocations: 0.9169 MB / 0.7054 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.1864, allocations: 249 kB / 0.7056 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1864, allocations: 11.94 kB / 0.7056 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.1887, allocations: 0.4971 MB / 0.7061 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.1891, allocations: 95.88 kB / 0.7062 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/0.1946, allocations: 3.784 MB / 0.7099 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.195, allocations: 43.8 kB / 0.7099 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.195, allocations: 20 kB / 0.7099 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.195, allocations: 4 kB / 0.7099 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006682/0.1957, allocations: 475.3 kB / 0.7104 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1957, allocations: 4 kB / 0.7104 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.1957, allocations: 8.719 kB / 0.7104 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1961, allocations: 111.8 kB / 0.7105 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1961, allocations: 15.94 kB / 0.7105 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1964, allocations: 39.81 kB / 0.7106 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.1964, allocations: 20 kB / 0.7106 GB, free: 3.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002379/0.1967, allocations: 277.5 kB / 0.7109 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.1968, allocations: 35.62 kB / 0.7109 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.1984, allocations: 0.6631 MB / 0.7115 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1985, allocations: 4 kB / 0.7115 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1985, allocations: 0 / 0.7115 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1985, allocations: 7.984 kB / 0.7115 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.1993, allocations: 0.6482 MB / 0.7122 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1993, allocations: 3.938 kB / 0.7122 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.1995, allocations: 43.97 kB / 0.7122 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.201, allocations: 405.2 kB / 0.7126 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.2011, allocations: 8 kB / 0.7126 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.2049, allocations: 3.49 MB / 0.716 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2049, allocations: 3.984 kB / 0.716 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2065, allocations: 0.8273 MB / 0.7168 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2067, allocations: 144.6 kB / 0.717 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.2067, allocations: 7.984 kB / 0.717 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.2071, allocations: 43.92 kB / 0.717 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.2072, allocations: 19.97 kB / 0.717 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.2072, allocations: 8 kB / 0.7171 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002204/0.2074, allocations: 227.1 kB / 0.7173 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2075, allocations: 0 / 0.7173 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007742/0.2082, allocations: 192 kB / 0.7175 GB, free: 12.48 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.2084, allocations: 124 kB / 0.7176 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.2099, allocations: 0.9606 MB / 0.7185 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2099, allocations: 0 / 0.7185 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.2106, allocations: 477.7 kB / 0.719 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.2112, allocations: 76.84 kB / 0.719 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2124, allocations: 0.9211 MB / 0.7199 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.2129, allocations: 0.8508 MB / 0.7208 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003846/0.2133, allocations: 135.1 kB / 0.7209 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.2133, allocations: 31.44 kB / 0.7209 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2133, allocations: 0 / 0.7209 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.0113/0.2247, allocations: 6.766 MB / 0.7275 GB, free: 2.07 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)