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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.00546/0.00546, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.614/1.614, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004793/0.0004794, allocations: 17.19 kB / 0.6744 GB, free: 25.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004074/0.205, allocations: 3.809 MB / 0.7917 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2078, allocations: 2.179 MB / 0.7938 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2079, allocations: 8 kB / 0.7939 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2081, allocations: 71.44 kB / 0.7939 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.2086, allocations: 246.9 kB / 0.7942 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005882/0.2092, allocations: 315.4 kB / 0.7945 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.2098, allocations: 0.8142 MB / 0.7952 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.2108, allocations: 0.6608 MB / 0.7959 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.211, allocations: 187.2 kB / 0.7961 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003393/0.2114, allocations: 255.1 kB / 0.7963 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.2114, allocations: 20 kB / 0.7963 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.2118, allocations: 291.4 kB / 0.7966 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2119, allocations: 163.6 kB / 0.7968 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2121, allocations: 212.7 kB / 0.797 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.2127, allocations: 0.6306 MB / 0.7976 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2127, allocations: 4 kB / 0.7976 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2127, allocations: 0 / 0.7976 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2127, allocations: 0 / 0.7976 GB, free: 1.609 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.0008515/0.2136, allocations: 0.6279 MB / 0.7982 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.2136, allocations: 8.031 kB / 0.7982 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.893e-05/0.2137, allocations: 78.72 kB / 0.7983 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.2146, allocations: 132.3 kB / 0.7984 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2149, allocations: 340.4 kB / 0.7987 GB, free: 344 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.215, allocations: 25.38 kB / 0.7988 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.215, allocations: 36.36 kB / 0.7988 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.2158, allocations: 0.6222 MB / 0.7994 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.2158, allocations: 4 kB / 0.7994 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.2159, allocations: 16 kB / 0.7994 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.28e-05/0.216, allocations: 40.62 kB / 0.7995 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.2166, allocations: 482.1 kB / 0.7999 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.2195, allocations: 3.424 MB / 0.8033 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2202, allocations: 373 kB / 0.8036 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.2204, allocations: 173.6 kB / 0.8038 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.2204, allocations: 8.344 kB / 0.8038 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2204, allocations: 34.5 kB / 0.8038 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.2204, allocations: 3.938 kB / 0.8038 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004334/0.2248, allocations: 1.473 MB / 0.8053 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2248, allocations: 81.11 kB / 0.8053 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.2251, allocations: 328.4 kB / 0.8057 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2252, allocations: 33.7 kB / 0.8057 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2253, allocations: 255.3 kB / 0.8059 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.2254, allocations: 102.7 kB / 0.806 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.2255, allocations: 37.7 kB / 0.8061 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.2256, allocations: 338.8 kB / 0.8064 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.2258, allocations: 177 kB / 0.8066 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.2261, allocations: 350 kB / 0.8069 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.2267, allocations: 0.5314 MB / 0.8074 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2267, allocations: 0 / 0.8074 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002159/0.2289, allocations: 0.9094 MB / 0.8083 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.2291, allocations: 253.1 kB / 0.8085 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2291, allocations: 8 kB / 0.8086 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.2313, allocations: 0.501 MB / 0.809 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.2316, allocations: 99.81 kB / 0.8091 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06274/0.2944, allocations: 3.783 MB / 0.8128 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.2948, allocations: 39.81 kB / 0.8129 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.2949, allocations: 23.98 kB / 0.8129 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.2949, allocations: 4 kB / 0.8129 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006646/0.2955, allocations: 479.3 kB / 0.8134 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2956, allocations: 4.719 kB / 0.8134 GB, free: 376 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.2956, allocations: 16 kB / 0.8134 GB, free: 360 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.2959, allocations: 111.8 kB / 0.8135 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.296, allocations: 8 kB / 0.8135 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.2962, allocations: 35.83 kB / 0.8135 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.2962, allocations: 23.98 kB / 0.8135 GB, free: 180 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.0002519/0.2965, allocations: 269 kB / 0.8138 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.2966, allocations: 35.61 kB / 0.8138 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2982, allocations: 0.6727 MB / 0.8145 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.2982, allocations: 4 kB / 0.8145 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2982, allocations: 4 kB / 0.8145 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2982, allocations: 7.922 kB / 0.8145 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.299, allocations: 0.6558 MB / 0.8151 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.299, allocations: 0 / 0.8151 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.2992, allocations: 43.91 kB / 0.8152 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.3007, allocations: 405.3 kB / 0.8156 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.3007, allocations: 8 kB / 0.8156 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/0.3042, allocations: 3.486 MB / 0.819 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3042, allocations: 3.938 kB / 0.819 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.3058, allocations: 0.8259 MB / 0.8198 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3059, allocations: 140.6 kB / 0.8199 GB, free: 9.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.306, allocations: 8 kB / 0.8199 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.3063, allocations: 35.94 kB / 0.82 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.3064, allocations: 27.91 kB / 0.82 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3064, allocations: 4 kB / 0.82 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002071/0.3066, allocations: 231 kB / 0.8202 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3066, allocations: 0 / 0.8202 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007456/0.3074, allocations: 196 kB / 0.8204 GB, free: 8.734 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.001982/0.3093, allocations: 1.407 MB / 0.8218 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.3108, allocations: 0.957 MB / 0.8227 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3108, allocations: 0.5625 kB / 0.8227 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.3114, allocations: 489 kB / 0.8232 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.312, allocations: 73.22 kB / 0.8233 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.3191, allocations: 4.704 MB / 0.8279 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3195, allocations: 0.8471 MB / 0.8287 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004001/0.3199, allocations: 139.1 kB / 0.8288 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.3201, allocations: 115.4 kB / 0.8289 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.3201, allocations: 0 / 0.8289 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2871/0.6072, allocations: 9.877 MB / 0.8386 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.6074, allocations: 238.3 kB / 0.8388 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.522, allocations: 0 / 0.8388 GB, free: 5.719 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)