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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 267 MB, free: 10.97 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.0009407/0.0009406, allocations: 184.6 kB / 326.6 MB, free: 2.215 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.886/1.886, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.001012/0.001013, allocations: 87.39 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8.531 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003736/0.2606, allocations: 3.639 MB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002944/0.2635, allocations: 2.086 MB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.2638, allocations: 7.938 kB / 0.9059 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.2641, allocations: 67.48 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000587/0.2647, allocations: 219 kB / 0.9062 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.2653, allocations: 255.5 kB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.2658, allocations: 0.6503 MB / 0.9071 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008673/0.2667, allocations: 0.612 MB / 0.9077 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.2669, allocations: 183.3 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.2672, allocations: 255.1 kB / 0.9081 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.2673, allocations: 16 kB / 0.9081 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2676, allocations: 151.8 kB / 0.9082 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2677, allocations: 151.6 kB / 0.9084 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.2678, allocations: 93.52 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.2682, allocations: 495 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2682, allocations: 0 / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2682, allocations: 3.938 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2682, allocations: 0 / 0.9089 GB, free: 54.93 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.0009334/0.2691, allocations: 0.6315 MB / 0.9096 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2692, allocations: 12.03 kB / 0.9096 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.2693, allocations: 90.47 kB / 0.9097 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009179/0.2702, allocations: 139.3 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.2706, allocations: 311.4 kB / 0.9101 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.2706, allocations: 32.92 kB / 0.9101 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.2707, allocations: 36 kB / 0.9102 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.2715, allocations: 0.6182 MB / 0.9108 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2716, allocations: 7.938 kB / 0.9108 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.2716, allocations: 19.98 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.147e-05/0.2717, allocations: 48.58 kB / 0.9108 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.2723, allocations: 470.2 kB / 0.9113 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002892/0.2753, allocations: 3.421 MB / 0.9146 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.2759, allocations: 378.9 kB / 0.915 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.2762, allocations: 169.6 kB / 0.9151 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.2762, allocations: 7.984 kB / 0.9151 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.2762, allocations: 38.56 kB / 0.9152 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 3.857e-06/0.2763, allocations: 0 / 0.9152 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004304/0.2806, allocations: 1.466 MB / 0.9166 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.2806, allocations: 81.11 kB / 0.9167 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2809, allocations: 324.4 kB / 0.917 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.281, allocations: 33.64 kB / 0.917 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2811, allocations: 255.3 kB / 0.9173 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.2812, allocations: 98.64 kB / 0.9174 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.2812, allocations: 12 kB / 0.9174 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.2813, allocations: 342.8 kB / 0.9177 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.2815, allocations: 173 kB / 0.9179 GB, free: 45.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.2818, allocations: 342 kB / 0.9182 GB, free: 44.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.2821, allocations: 227.8 kB / 0.9184 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2821, allocations: 3.938 kB / 0.9184 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001979/0.2841, allocations: 0.9164 MB / 0.9193 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2842, allocations: 241.2 kB / 0.9195 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.2842, allocations: 7.938 kB / 0.9196 GB, free: 43.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.2863, allocations: 0.5049 MB / 0.92 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.2867, allocations: 83.89 kB / 0.9201 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.2912, allocations: 3.78 MB / 0.9238 GB, free: 38.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.2916, allocations: 35.81 kB / 0.9239 GB, free: 38.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.2917, allocations: 20 kB / 0.9239 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.714e-06/0.2917, allocations: 4 kB / 0.9239 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005921/0.2923, allocations: 480.1 kB / 0.9243 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2923, allocations: 7.953 kB / 0.9243 GB, free: 38.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.2923, allocations: 20.05 kB / 0.9244 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.2927, allocations: 107.8 kB / 0.9245 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.2927, allocations: 11.94 kB / 0.9245 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.293, allocations: 31.81 kB / 0.9245 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.293, allocations: 23.98 kB / 0.9245 GB, free: 37.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2932, allocations: 276.9 kB / 0.9248 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2933, allocations: 31.62 kB / 0.9248 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2949, allocations: 0.6685 MB / 0.9255 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2949, allocations: 7.953 kB / 0.9255 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2949, allocations: 0 / 0.9255 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.295, allocations: 4 kB / 0.9255 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.2958, allocations: 0.6597 MB / 0.9261 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2958, allocations: 3.938 kB / 0.9261 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.296, allocations: 39.97 kB / 0.9262 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.2974, allocations: 413.2 kB / 0.9266 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2975, allocations: 8 kB / 0.9266 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.3005, allocations: 3.474 MB / 0.93 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3005, allocations: 32 / 0.93 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.3021, allocations: 0.8298 MB / 0.9308 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3023, allocations: 144.6 kB / 0.9309 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.3023, allocations: 7.953 kB / 0.9309 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3027, allocations: 39.94 kB / 0.931 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.3028, allocations: 15.97 kB / 0.931 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.3028, allocations: 12 kB / 0.931 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001982/0.303, allocations: 223.1 kB / 0.9312 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.303, allocations: 4 kB / 0.9312 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000816/0.3038, allocations: 196 kB / 0.9314 GB, free: 30.5 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.3057, allocations: 1.403 MB / 0.9328 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.3071, allocations: 0.9519 MB / 0.9337 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3071, allocations: 0.5625 kB / 0.9337 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.3077, allocations: 477 kB / 0.9341 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.3082, allocations: 77.12 kB / 0.9342 GB, free: 27.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004059/0.3123, allocations: 2.65 MB / 0.9368 GB, free: 24.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3126, allocations: 0.847 MB / 0.9376 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003821/0.313, allocations: 143.2 kB / 0.9378 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3132, allocations: 115.4 kB / 0.9379 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.3132, allocations: 0 / 0.9379 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.3356, allocations: 9.88 MB / 0.9475 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.3359, allocations: 230 kB / 0.9478 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.614, allocations: 0 / 0.9478 GB, free: 13.71 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)