Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.0009832, allocations: 173.9 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008638/0.0008638, allocations: 103.5 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004643, allocations: 8.75 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004392/0.2171, allocations: 3.849 MB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.2204, allocations: 2.221 MB / 0.9027 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.2209, allocations: 11.94 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.2224, allocations: 0.5139 MB / 0.9032 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000753/0.2231, allocations: 251 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.224, allocations: 306.1 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.2249, allocations: 0.8141 MB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007132/0.2256, allocations: 368.2 kB / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.226, allocations: 187.2 kB / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.2265, allocations: 263 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.24e-05/0.2266, allocations: 16 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.2271, allocations: 291.5 kB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.2273, allocations: 159.4 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.2276, allocations: 198.9 kB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.2282, allocations: 0.6229 MB / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2282, allocations: 0 / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2282, allocations: 4 kB / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.2283, allocations: 0 / 0.9066 GB, free: 58.11 MB / 0.6042 GB 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.001024/0.2293, allocations: 0.6356 MB / 0.9072 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2293, allocations: 8.031 kB / 0.9072 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.2303, allocations: 140.2 kB / 0.9073 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.2307, allocations: 316.5 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2308, allocations: 29.38 kB / 0.9076 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.2308, allocations: 40.34 kB / 0.9077 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.2316, allocations: 0.6302 MB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2316, allocations: 0 / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.2316, allocations: 16 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.447e-05/0.2317, allocations: 40.62 kB / 0.9084 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/0.2323, allocations: 486.1 kB / 0.9088 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.2348, allocations: 3.42 MB / 0.9122 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.2353, allocations: 380.9 kB / 0.9125 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.2355, allocations: 177.6 kB / 0.9127 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.2356, allocations: 0 / 0.9127 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.2356, allocations: 38.56 kB / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.2356, allocations: 0 / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004125/0.2397, allocations: 1.466 MB / 0.9142 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.2398, allocations: 81.11 kB / 0.9142 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.24, allocations: 328.4 kB / 0.9146 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.2401, allocations: 29.7 kB / 0.9146 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2402, allocations: 263.2 kB / 0.9148 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.2402, allocations: 86.75 kB / 0.9149 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.2403, allocations: 49.69 kB / 0.915 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.2404, allocations: 334.8 kB / 0.9153 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2406, allocations: 181 kB / 0.9155 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.2408, allocations: 342 kB / 0.9158 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.2413, allocations: 0.5435 MB / 0.9163 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2414, allocations: 0 / 0.9163 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001973/0.2433, allocations: 0.9081 MB / 0.9172 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.2434, allocations: 253.1 kB / 0.9174 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2435, allocations: 4 kB / 0.9174 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.2455, allocations: 0.5049 MB / 0.9179 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2459, allocations: 99.81 kB / 0.918 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.2502, allocations: 3.778 MB / 0.9217 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.2505, allocations: 43.84 kB / 0.9218 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2505, allocations: 19.98 kB / 0.9218 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.2506, allocations: 4 kB / 0.9218 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005456/0.2511, allocations: 483.9 kB / 0.9222 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2511, allocations: 4.094 kB / 0.9222 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/0.2511, allocations: 16 kB / 0.9223 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.2515, allocations: 111.8 kB / 0.9224 GB, free: 40.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2515, allocations: 8 kB / 0.9224 GB, free: 40.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2517, allocations: 27.83 kB / 0.9224 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2517, allocations: 27.98 kB / 0.9224 GB, free: 40.77 MB / 0.6042 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.000191/0.2519, allocations: 269.5 kB / 0.9227 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.252, allocations: 31.77 kB / 0.9227 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2535, allocations: 0.6818 MB / 0.9234 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2535, allocations: 0 / 0.9234 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2535, allocations: 3.984 kB / 0.9234 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2536, allocations: 140.6 kB / 0.9235 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2537, allocations: 8 kB / 0.9235 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.254, allocations: 39.94 kB / 0.9236 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.2541, allocations: 31.89 kB / 0.9236 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001017/0.2551, allocations: 0.6636 MB / 0.9242 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005692/0.2557, allocations: 0.7279 MB / 0.925 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001549/0.2559, allocations: 152.2 kB / 0.9251 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001594/0.256, allocations: 235 kB / 0.9253 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of Backend: time 5.01e-07/0.256, allocations: 0 / 0.9253 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.2577, allocations: 1.026 MB / 0.9263 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001089/0.2588, allocations: 1.347 MB / 0.9276 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.01053/0.2694, allocations: 8.478 MB / 0.9359 GB, free: 26.83 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)