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.0008749/0.0008749, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009629/0.0009629, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005551/0.0005552, allocations: 18.22 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004833/0.284, allocations: 3.631 MB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00361/0.2877, allocations: 2.075 MB / 0.793 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.2879, allocations: 8 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.2882, allocations: 67.48 kB / 0.7931 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005774/0.2888, allocations: 211 kB / 0.7933 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.2896, allocations: 277.2 kB / 0.7935 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.2905, allocations: 0.6464 MB / 0.7942 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2916, allocations: 0.5971 MB / 0.7947 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.292, allocations: 191.3 kB / 0.7949 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.2925, allocations: 255.1 kB / 0.7952 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.2925, allocations: 23.94 kB / 0.7952 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.2929, allocations: 147.8 kB / 0.7953 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.2931, allocations: 147.6 kB / 0.7955 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.2932, allocations: 105.4 kB / 0.7956 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005015/0.2937, allocations: 486.7 kB / 0.796 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2937, allocations: 0 / 0.796 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2937, allocations: 4 kB / 0.796 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2937, allocations: 0 / 0.796 GB, free: 2.941 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.001126/0.2949, allocations: 0.6355 MB / 0.7967 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2949, allocations: 12.03 kB / 0.7967 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.2951, allocations: 82.52 kB / 0.7967 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008835/0.2959, allocations: 135.3 kB / 0.7969 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.2964, allocations: 323.2 kB / 0.7972 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2964, allocations: 24.98 kB / 0.7972 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.2965, allocations: 36 kB / 0.7972 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.2975, allocations: 0.6182 MB / 0.7978 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.2975, allocations: 8 kB / 0.7979 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.2976, allocations: 19.98 kB / 0.7979 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.331e-05/0.2977, allocations: 40.62 kB / 0.7979 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.2984, allocations: 478 kB / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.3022, allocations: 3.417 MB / 0.8017 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.3029, allocations: 369 kB / 0.8021 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3033, allocations: 177.6 kB / 0.8022 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.3033, allocations: 8.391 kB / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3034, allocations: 38.56 kB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.3034, allocations: 0 / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004523/0.3079, allocations: 1.469 MB / 0.8037 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.3081, allocations: 77.11 kB / 0.8038 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.3084, allocations: 324.4 kB / 0.8041 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3085, allocations: 33.7 kB / 0.8041 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.3088, allocations: 255.3 kB / 0.8044 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.3088, allocations: 94.73 kB / 0.8045 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.3089, allocations: 8 kB / 0.8045 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.309, allocations: 338.8 kB / 0.8048 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.3094, allocations: 181 kB / 0.805 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/0.3099, allocations: 338.1 kB / 0.8053 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.3102, allocations: 227.8 kB / 0.8055 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3102, allocations: 0 / 0.8055 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002301/0.3125, allocations: 0.9094 MB / 0.8064 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.3128, allocations: 249.1 kB / 0.8066 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.3128, allocations: 8.031 kB / 0.8066 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/0.315, allocations: 0.501 MB / 0.8071 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.3155, allocations: 103.8 kB / 0.8072 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/0.3215, allocations: 3.785 MB / 0.8109 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.3219, allocations: 43.8 kB / 0.811 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.322, allocations: 23.94 kB / 0.811 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.322, allocations: 4 kB / 0.811 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007761/0.3228, allocations: 483.9 kB / 0.8114 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3228, allocations: 8.094 kB / 0.8114 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3228, allocations: 11.95 kB / 0.8115 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.3232, allocations: 107.8 kB / 0.8116 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3232, allocations: 8 kB / 0.8116 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.3235, allocations: 35.91 kB / 0.8116 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3235, allocations: 20 kB / 0.8116 GB, free: 1.961 MB / 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 (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.0002904/0.3238, allocations: 265 kB / 0.8119 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.3239, allocations: 35.62 kB / 0.8119 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3255, allocations: 0.68 MB / 0.8126 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3255, allocations: 4 kB / 0.8126 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3256, allocations: 3.953 kB / 0.8126 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3256, allocations: 0 / 0.8126 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/0.3265, allocations: 0.6521 MB / 0.8132 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3265, allocations: 4 kB / 0.8132 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.3267, allocations: 43.91 kB / 0.8133 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.3282, allocations: 409.4 kB / 0.8137 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.3282, allocations: 7.953 kB / 0.8137 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.3325, allocations: 3.482 MB / 0.8171 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3325, allocations: 0 / 0.8171 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.3343, allocations: 0.822 MB / 0.8179 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.3345, allocations: 144.6 kB / 0.818 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.3345, allocations: 11.95 kB / 0.818 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3348, allocations: 35.94 kB / 0.8181 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3349, allocations: 27.84 kB / 0.8181 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3349, allocations: 11.94 kB / 0.8181 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000239/0.3352, allocations: 227.1 kB / 0.8183 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3352, allocations: 4 kB / 0.8183 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008726/0.3361, allocations: 192.1 kB / 0.8185 GB, free: 10.52 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 (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.002173/0.3383, allocations: 1.399 MB / 0.8199 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.34, allocations: 0.9528 MB / 0.8208 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.34, allocations: 0.625 kB / 0.8208 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.3407, allocations: 479.4 kB / 0.8212 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.3413, allocations: 77.11 kB / 0.8213 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.346, allocations: 2.655 MB / 0.8239 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.3466, allocations: 0.8431 MB / 0.8247 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004649/0.3471, allocations: 143.1 kB / 0.8249 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3473, allocations: 107.4 kB / 0.825 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of SimCode: time 1.423e-06/0.3473, allocations: 0 / 0.825 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.3723, allocations: 9.875 MB / 0.8346 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.3725, allocations: 216 kB / 0.8348 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.428, allocations: 0 / 0.8348 GB, free: 9.727 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/linux/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) Environment - environmentSimulation: