Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001/0.001, allocations: 98.11 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.006858/0.006858, allocations: 169.4 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.915/1.915, allocations: 292.7 MB / 0.5502 GB, free: 14.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006059/0.0006059, allocations: 13.19 kB / 0.6743 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2991, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006185/0.3054, allocations: 3.794 MB / 0.7916 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005041/0.3105, allocations: 2.198 MB / 0.7937 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005076/0.3111, allocations: 4 kB / 0.7937 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005536/0.3117, allocations: 63.5 kB / 0.7938 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3129, allocations: 250.9 kB / 0.794 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3143, allocations: 323.1 kB / 0.7943 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.3157, allocations: 0.8025 MB / 0.7951 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.3175, allocations: 0.6533 MB / 0.7958 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.3181, allocations: 183.2 kB / 0.7959 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009709/0.3191, allocations: 263.1 kB / 0.7962 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3192, allocations: 16 kB / 0.7962 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.32, allocations: 303.3 kB / 0.7965 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.3203, allocations: 151.6 kB / 0.7966 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.3208, allocations: 216.7 kB / 0.7968 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.3221, allocations: 0.6344 MB / 0.7975 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3221, allocations: 4 kB / 0.7975 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3221, allocations: 0 / 0.7975 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.765e-05/0.3221, allocations: 0 / 0.7975 GB, free: 1.734 MB / 0.6075 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.001648/0.3238, allocations: 0.6279 MB / 0.7981 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.3239, allocations: 8.031 kB / 0.7981 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.3252, allocations: 136.3 kB / 0.7982 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.3258, allocations: 332.4 kB / 0.7985 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.3259, allocations: 25.38 kB / 0.7986 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.326, allocations: 36.36 kB / 0.7986 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.3273, allocations: 0.6264 MB / 0.7992 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.3273, allocations: 7.938 kB / 0.7992 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.3274, allocations: 12 kB / 0.7992 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-05/0.3275, allocations: 44.62 kB / 0.7993 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.3283, allocations: 482.2 kB / 0.7997 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.3328, allocations: 3.42 MB / 0.8031 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.3336, allocations: 376.9 kB / 0.8034 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.3339, allocations: 169.6 kB / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.334, allocations: 4.344 kB / 0.8036 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.334, allocations: 46.48 kB / 0.8036 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 3.015e-06/0.334, allocations: 0 / 0.8036 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.005074/0.3391, allocations: 1.473 MB / 0.8051 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3392, allocations: 81.11 kB / 0.8052 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.3397, allocations: 328.4 kB / 0.8055 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.3398, allocations: 29.7 kB / 0.8055 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.34, allocations: 255.4 kB / 0.8057 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3402, allocations: 98.64 kB / 0.8058 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3403, allocations: 45.69 kB / 0.8059 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3405, allocations: 338.8 kB / 0.8062 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.3407, allocations: 173 kB / 0.8064 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.3412, allocations: 350 kB / 0.8067 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/0.3419, allocations: 0.5314 MB / 0.8072 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3419, allocations: 0 / 0.8072 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002381/0.3443, allocations: 0.9133 MB / 0.8081 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.3445, allocations: 253.1 kB / 0.8083 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3446, allocations: 8 kB / 0.8084 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.347, allocations: 0.501 MB / 0.8088 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.3474, allocations: 99.81 kB / 0.8089 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.3534, allocations: 3.778 MB / 0.8126 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3539, allocations: 39.81 kB / 0.8127 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.354, allocations: 19.98 kB / 0.8127 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.354, allocations: 4 kB / 0.8127 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008649/0.3549, allocations: 480 kB / 0.8132 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3549, allocations: 4 kB / 0.8132 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3549, allocations: 15.97 kB / 0.8132 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.3554, allocations: 103.9 kB / 0.8133 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.3554, allocations: 19.91 kB / 0.8133 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.3558, allocations: 31.83 kB / 0.8133 GB, free: 420 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.3558, allocations: 20 kB / 0.8133 GB, free: 400 kB / 0.6231 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.0004029/0.3562, allocations: 271.3 kB / 0.8136 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.3564, allocations: 35.62 kB / 0.8136 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.3583, allocations: 0.6775 MB / 0.8143 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3583, allocations: 4 kB / 0.8143 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3583, allocations: 0 / 0.8143 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3583, allocations: 7.938 kB / 0.8143 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3597, allocations: 0.6556 MB / 0.8149 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3597, allocations: 0 / 0.8149 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.36, allocations: 47.95 kB / 0.815 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.3616, allocations: 409.2 kB / 0.8154 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.3616, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.366, allocations: 3.478 MB / 0.8188 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.366, allocations: 0 / 0.8188 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.368, allocations: 0.8298 MB / 0.8196 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.3683, allocations: 148.6 kB / 0.8197 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.3684, allocations: 4 kB / 0.8197 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.3688, allocations: 39.94 kB / 0.8198 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.3689, allocations: 19.97 kB / 0.8198 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.3689, allocations: 8 kB / 0.8198 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003201/0.3692, allocations: 231 kB / 0.82 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3692, allocations: 4 kB / 0.82 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001189/0.3704, allocations: 192 kB / 0.8202 GB, free: 8.945 MB / 0.6387 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.0002826/0.3707, allocations: 107.2 kB / 0.8203 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.373, allocations: 0.9649 MB / 0.8213 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.3731, allocations: 0.625 kB / 0.8213 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.374, allocations: 485 kB / 0.8217 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.3748, allocations: 81.05 kB / 0.8218 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.3768, allocations: 0.9206 MB / 0.8227 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/0.3777, allocations: 0.8507 MB / 0.8235 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005382/0.3782, allocations: 135.2 kB / 0.8237 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3783, allocations: 31.42 kB / 0.8237 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of SimCode: time 1.322e-06/0.3783, allocations: 0 / 0.8237 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of Templates: time 0.01684/0.3952, allocations: 6.747 MB / 0.8303 GB, free: 14.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: