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.484/1.484, allocations: 252 MB / 267.3 MB, free: 10.84 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.001025/0.001025, allocations: 184.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0009462/0.0009458, allocations: 94.27 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005281, allocations: 8.75 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2342, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005994/0.2403, allocations: 3.801 MB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.2446, allocations: 2.19 MB / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.2453, allocations: 7.938 kB / 0.9068 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.2457, allocations: 67.48 kB / 0.9068 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009253/0.2466, allocations: 254.9 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2477, allocations: 307.4 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.2486, allocations: 0.8103 MB / 0.9082 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.2497, allocations: 0.6483 MB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.25, allocations: 183.3 kB / 0.909 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/0.2504, allocations: 271 kB / 0.9092 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.2504, allocations: 20 kB / 0.9093 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.251, allocations: 291.4 kB / 0.9095 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2511, allocations: 155.6 kB / 0.9097 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.2513, allocations: 216.6 kB / 0.9099 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.2519, allocations: 0.627 MB / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.252, allocations: 0 / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.252, allocations: 0 / 0.9105 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.252, allocations: 0 / 0.9105 GB, free: 53.51 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.001033/0.253, allocations: 0.6357 MB / 0.9111 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.2531, allocations: 11.97 kB / 0.9111 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.2532, allocations: 86.69 kB / 0.9112 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000973/0.2542, allocations: 136.2 kB / 0.9113 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.2546, allocations: 320.5 kB / 0.9117 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.2546, allocations: 29.38 kB / 0.9117 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2547, allocations: 40.36 kB / 0.9117 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.2554, allocations: 0.63 MB / 0.9123 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2555, allocations: 3.938 kB / 0.9123 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.2555, allocations: 16 kB / 0.9124 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.114e-05/0.2556, allocations: 44.62 kB / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.2562, allocations: 470.2 kB / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.259, allocations: 3.42 MB / 0.9162 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.2596, allocations: 384.9 kB / 0.9166 GB, free: 46.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2599, allocations: 173.6 kB / 0.9167 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.2599, allocations: 8 kB / 0.9167 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.26, allocations: 30.56 kB / 0.9168 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 3.506e-06/0.26, allocations: 3.938 kB / 0.9168 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004353/0.2643, allocations: 1.467 MB / 0.9182 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.2644, allocations: 81.11 kB / 0.9183 GB, free: 45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.2647, allocations: 328.3 kB / 0.9186 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2647, allocations: 37.7 kB / 0.9186 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2649, allocations: 259.3 kB / 0.9189 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.2649, allocations: 86.75 kB / 0.9189 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.265, allocations: 8 kB / 0.919 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2651, allocations: 338.8 kB / 0.9193 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.2653, allocations: 181 kB / 0.9195 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2656, allocations: 342 kB / 0.9198 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.2661, allocations: 0.5396 MB / 0.9203 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2661, allocations: 4 kB / 0.9203 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002014/0.2682, allocations: 0.9161 MB / 0.9212 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.2683, allocations: 251.9 kB / 0.9214 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2683, allocations: 15.98 kB / 0.9215 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.2705, allocations: 0.501 MB / 0.9219 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.2708, allocations: 95.81 kB / 0.922 GB, free: 40.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/0.2757, allocations: 3.782 MB / 0.9257 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.2762, allocations: 43.86 kB / 0.9258 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.2763, allocations: 20 kB / 0.9258 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2763, allocations: 4 kB / 0.9258 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006288/0.2769, allocations: 471.3 kB / 0.9262 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.277, allocations: 12 kB / 0.9263 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.277, allocations: 11.94 kB / 0.9263 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.2773, allocations: 111.8 kB / 0.9264 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2774, allocations: 12.59 kB / 0.9264 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.2776, allocations: 31.91 kB / 0.9264 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2777, allocations: 28 kB / 0.9264 GB, free: 36.09 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.000352/0.278, allocations: 273.5 kB / 0.9267 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.2782, allocations: 31.62 kB / 0.9267 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.2798, allocations: 0.6723 MB / 0.9274 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2798, allocations: 4 kB / 0.9274 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.2798, allocations: 0 / 0.9274 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2798, allocations: 3.984 kB / 0.9274 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.2807, allocations: 0.6559 MB / 0.928 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2807, allocations: 3.938 kB / 0.928 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2809, allocations: 44.06 kB / 0.9281 GB, free: 34.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.2824, allocations: 405.1 kB / 0.9285 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.2825, allocations: 8 kB / 0.9285 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/0.2858, allocations: 3.482 MB / 0.9319 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2858, allocations: 0 / 0.9319 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2875, allocations: 0.8374 MB / 0.9327 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.2877, allocations: 136.6 kB / 0.9328 GB, free: 29.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2877, allocations: 11.98 kB / 0.9328 GB, free: 29.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.2881, allocations: 39.94 kB / 0.9329 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.2882, allocations: 23.97 kB / 0.9329 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2882, allocations: 12 kB / 0.9329 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000198/0.2884, allocations: 223.1 kB / 0.9331 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2884, allocations: 0 / 0.9331 GB, free: 28.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008412/0.2893, allocations: 196.1 kB / 0.9333 GB, free: 28.65 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 (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.0018/0.2911, allocations: 1.41 MB / 0.9347 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.2925, allocations: 0.9629 MB / 0.9356 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2925, allocations: 0 / 0.9356 GB, free: 26.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.2931, allocations: 475 kB / 0.9361 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.2937, allocations: 73.19 kB / 0.9362 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006378/0.3001, allocations: 4.699 MB / 0.9407 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3004, allocations: 0.847 MB / 0.9416 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.3008, allocations: 139.1 kB / 0.9417 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.301, allocations: 115.4 kB / 0.9418 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.301, allocations: 0 / 0.9418 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3214, allocations: 9.9 MB / 0.9515 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.3217, allocations: 250.3 kB / 0.9517 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.722, allocations: 3.938 kB / 0.9517 GB, free: 9.637 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)