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.001173/0.001174, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 186.6 kB / 16.62 MB, free: 6.582 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.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00139/0.00139, allocations: 68.5 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2621, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006387/0.2685, allocations: 4.137 MB / 0.7882 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.2728, allocations: 2.221 MB / 0.7903 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.2731, allocations: 8 kB / 0.7903 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2749, allocations: 0.5253 MB / 0.7909 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.2758, allocations: 274.7 kB / 0.7911 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2771, allocations: 349.9 kB / 0.7914 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009605/0.2781, allocations: 0.5568 MB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007774/0.2789, allocations: 371.7 kB / 0.7923 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.2793, allocations: 239.1 kB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.2799, allocations: 279 kB / 0.7928 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.28, allocations: 36 kB / 0.7929 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.2805, allocations: 251.6 kB / 0.7931 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.2807, allocations: 183.5 kB / 0.7933 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.2809, allocations: 211 kB / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007197/0.2816, allocations: 0.6425 MB / 0.7941 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2816, allocations: 0 / 0.7941 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2816, allocations: 0 / 0.7941 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.2817, allocations: 4 kB / 0.7941 GB, free: 2.43 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.001358/0.283, allocations: 0.7097 MB / 0.7948 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/0.2831, allocations: 8.031 kB / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2842, allocations: 152.1 kB / 0.795 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.2847, allocations: 328.5 kB / 0.7953 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.2847, allocations: 37.34 kB / 0.7953 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.2848, allocations: 28.38 kB / 0.7953 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/0.2857, allocations: 0.6225 MB / 0.796 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.2858, allocations: 7.938 kB / 0.796 GB, free: 412 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.2858, allocations: 15.98 kB / 0.796 GB, free: 396 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.463e-05/0.2859, allocations: 40.62 kB / 0.796 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007357/0.2867, allocations: 478.2 kB / 0.7965 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.2901, allocations: 3.401 MB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/0.2907, allocations: 380 kB / 0.8002 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.291, allocations: 173.6 kB / 0.8003 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.291, allocations: 8.391 kB / 0.8003 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.2911, allocations: 34.56 kB / 0.8004 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.2911, allocations: 0 / 0.8004 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004292/0.2954, allocations: 1.458 MB / 0.8018 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2955, allocations: 81.11 kB / 0.8019 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.2958, allocations: 324.4 kB / 0.8022 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.2959, allocations: 37.7 kB / 0.8022 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.296, allocations: 263.2 kB / 0.8025 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.608e-05/0.2961, allocations: 94.72 kB / 0.8025 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.2963, allocations: 90.06 kB / 0.8026 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2964, allocations: 342.8 kB / 0.803 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2967, allocations: 183 kB / 0.8031 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.297, allocations: 350 kB / 0.8035 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.2977, allocations: 0.528 MB / 0.804 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2977, allocations: 4 kB / 0.804 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002102/0.2998, allocations: 0.9053 MB / 0.8049 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.2998, allocations: 11.98 kB / 0.8049 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.2999, allocations: 4 kB / 0.8049 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.302, allocations: 0.5053 MB / 0.8054 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.3024, allocations: 99.81 kB / 0.8055 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/0.3077, allocations: 4.045 MB / 0.8094 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.3081, allocations: 39.88 kB / 0.8095 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.3082, allocations: 27.98 kB / 0.8095 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000397/0.3086, allocations: 301.8 kB / 0.8098 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003274/0.3089, allocations: 327.8 kB / 0.8101 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005627/0.3095, allocations: 0.5056 MB / 0.8106 GB, free: 392 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.058e-06/0.3095, allocations: 4 kB / 0.8106 GB, free: 388 kB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007602/0.3103, allocations: 0.5248 MB / 0.8111 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3103, allocations: 15.97 kB / 0.8111 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3103, allocations: 8 kB / 0.8111 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.3103, allocations: 11.94 kB / 0.8111 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.3107, allocations: 107.8 kB / 0.8112 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.3108, allocations: 11.94 kB / 0.8113 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.3111, allocations: 39.81 kB / 0.8113 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.3111, allocations: 20 kB / 0.8113 GB, free: 15.64 MB / 0.6387 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.0001872/0.3113, allocations: 212.1 kB / 0.8115 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.3114, allocations: 31.62 kB / 0.8115 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.313, allocations: 0.6684 MB / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3131, allocations: 4 kB / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.3131, allocations: 0 / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3131, allocations: 4 kB / 0.8122 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.314, allocations: 0.6713 MB / 0.8129 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.314, allocations: 0 / 0.8129 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3142, allocations: 43.95 kB / 0.8129 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.3156, allocations: 405.3 kB / 0.8133 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.3157, allocations: 8 kB / 0.8133 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.3196, allocations: 3.75 MB / 0.817 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3196, allocations: 3.984 kB / 0.817 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.3212, allocations: 0.8261 MB / 0.8178 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.3214, allocations: 148.5 kB / 0.8179 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.3215, allocations: 12 kB / 0.8179 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.3218, allocations: 31.94 kB / 0.8179 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.3219, allocations: 27.91 kB / 0.818 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3219, allocations: 12 kB / 0.818 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002447/0.3222, allocations: 231 kB / 0.8182 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3222, allocations: 3.938 kB / 0.8182 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008788/0.3231, allocations: 188 kB / 0.8184 GB, free: 7.965 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.000178/0.3232, allocations: 107.2 kB / 0.8185 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.3249, allocations: 0.9642 MB / 0.8194 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.325, allocations: 0 / 0.8194 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/0.3257, allocations: 497.3 kB / 0.8199 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.3263, allocations: 74.11 kB / 0.82 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.3277, allocations: 0.741 MB / 0.8207 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3282, allocations: 0.8429 MB / 0.8215 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000365/0.3285, allocations: 151 kB / 0.8217 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.3286, allocations: 31.42 kB / 0.8217 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.3286, allocations: 4 kB / 0.8217 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.01223/0.3409, allocations: 7.215 MB / 0.8287 GB, free: 13.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (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)