Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.001078/0.001078, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001277/0.001277, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.4 MB / 0.6655 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8002, allocations: 142.3 MB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.004306/0.8045, allocations: 4.107 MB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002712/0.8073, allocations: 2.059 MB / 0.9599 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.8075, allocations: 9 kB / 0.9599 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.8077, allocations: 64.98 kB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.8082, allocations: 227 kB / 0.9602 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007145/0.809, allocations: 266.9 kB / 0.9604 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.8096, allocations: 0.6453 MB / 0.9611 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.8107, allocations: 0.6106 MB / 0.9616 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.811, allocations: 187.6 kB / 0.9618 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.8115, allocations: 255.3 kB / 0.9621 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.8115, allocations: 17.09 kB / 0.9621 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.8119, allocations: 141.3 kB / 0.9622 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.8121, allocations: 160.6 kB / 0.9624 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.621e-05/0.8122, allocations: 97.61 kB / 0.9625 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.8126, allocations: 488.7 kB / 0.9629 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8127, allocations: 0 / 0.9629 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8127, allocations: 3.938 kB / 0.9629 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.8127, allocations: 1.281 kB / 0.9629 GB, free: 1.301 MB / 0.7169 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.000948/0.8136, allocations: 0.6353 MB / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.8137, allocations: 8.188 kB / 0.9636 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.96e-05/0.8138, allocations: 86.81 kB / 0.9637 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.8147, allocations: 140.2 kB / 0.9638 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.8151, allocations: 313.1 kB / 0.9641 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.8151, allocations: 27.81 kB / 0.9641 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.8152, allocations: 36.05 kB / 0.9641 GB, free: 280 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.816, allocations: 0.6182 MB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.8161, allocations: 14.23 kB / 0.9648 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.8161, allocations: 13.12 kB / 0.9648 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-05/0.8162, allocations: 46.44 kB / 0.9648 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.817, allocations: 470.1 kB / 0.9653 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.8209, allocations: 3.426 MB / 0.9686 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.8216, allocations: 383.4 kB / 0.969 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.8219, allocations: 170.1 kB / 0.9691 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.8219, allocations: 3.375 kB / 0.9691 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.8219, allocations: 44.36 kB / 0.9692 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.8219, allocations: 0 / 0.9692 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004437/0.8264, allocations: 1.463 MB / 0.9706 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.8265, allocations: 84.23 kB / 0.9707 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.8269, allocations: 322 kB / 0.971 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.8269, allocations: 30.7 kB / 0.971 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.8271, allocations: 263.4 kB / 0.9713 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.8272, allocations: 91.78 kB / 0.9714 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.8272, allocations: 9.594 kB / 0.9714 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.8273, allocations: 345.5 kB / 0.9717 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.8276, allocations: 172.7 kB / 0.9719 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.828, allocations: 343.1 kB / 0.9722 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.8283, allocations: 230.4 kB / 0.9724 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8283, allocations: 4.969 kB / 0.9724 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002096/0.8304, allocations: 0.9085 MB / 0.9733 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.8306, allocations: 251.5 kB / 0.9736 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8306, allocations: 5.531 kB / 0.9736 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/0.8327, allocations: 0.4988 MB / 0.974 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.8331, allocations: 97.88 kB / 0.9741 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/0.8381, allocations: 3.775 MB / 0.9778 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.8385, allocations: 41.78 kB / 0.9779 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.8385, allocations: 21.45 kB / 0.9779 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.8385, allocations: 3.562 kB / 0.9779 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006996/0.8392, allocations: 482.5 kB / 0.9783 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8393, allocations: 5.938 kB / 0.9784 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.8393, allocations: 8.781 kB / 0.9784 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.8397, allocations: 111.6 kB / 0.9785 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8397, allocations: 12.34 kB / 0.9785 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.8399, allocations: 33.72 kB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.84, allocations: 21.28 kB / 0.9785 GB, free: 4.926 MB / 0.7325 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.0002534/0.8402, allocations: 271 kB / 0.9788 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.8403, allocations: 35.92 kB / 0.9788 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.8419, allocations: 0.6734 MB / 0.9795 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8419, allocations: 2.25 kB / 0.9795 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.8419, allocations: 1.344 kB / 0.9795 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.8419, allocations: 1.469 kB / 0.9795 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.8428, allocations: 0.6599 MB / 0.9801 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8428, allocations: 1.062 kB / 0.9801 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.843, allocations: 44.56 kB / 0.9802 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.8444, allocations: 407.7 kB / 0.9806 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.8444, allocations: 9.906 kB / 0.9806 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.8479, allocations: 3.478 MB / 0.984 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8479, allocations: 4.031 kB / 0.984 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.8494, allocations: 0.8222 MB / 0.9848 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.8495, allocations: 148.6 kB / 0.9849 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.8496, allocations: 4 kB / 0.9849 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.8499, allocations: 43.92 kB / 0.985 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.85, allocations: 19.97 kB / 0.985 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.85, allocations: 8 kB / 0.985 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002202/0.8502, allocations: 227 kB / 0.9852 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8502, allocations: 0 / 0.9852 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008523/0.8511, allocations: 196 kB / 0.9854 GB, free: 14.37 MB / 0.7481 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.001933/0.853, allocations: 1.403 MB / 0.9868 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.8545, allocations: 0.9448 MB / 0.9877 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.8545, allocations: 0 / 0.9877 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006598/0.8552, allocations: 482.6 kB / 0.9881 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.8558, allocations: 70.3 kB / 0.9882 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.8602, allocations: 2.646 MB / 0.9908 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.8606, allocations: 0.8509 MB / 0.9916 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004103/0.861, allocations: 139.1 kB / 0.9918 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.8612, allocations: 111.4 kB / 0.9919 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.8612, allocations: 0 / 0.9919 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.8839, allocations: 9.891 MB / 1.002 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003286/0.8843, allocations: 233 kB / 1.002 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.944, allocations: 3.938 kB / 1.002 GB, free: 13.6 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat