Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.2 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 182.9 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008386/0.0008387, allocations: 85.61 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.00041, allocations: 14.28 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/0.9178, allocations: 172.5 MB / 1.148 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.9182, allocations: 101.9 kB / 1.148 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2643/1.183, allocations: 105.3 MB / 1.251 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.336e-06/1.183, allocations: 3.938 kB / 1.251 GB, free: 12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001869/1.183, allocations: 60 kB / 1.251 GB, free: 11.94 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008939/1.192, allocations: 2.53 MB / 1.253 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.192, allocations: 8.031 kB / 1.253 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002237/1.194, allocations: 466.5 kB / 1.254 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006822/1.201, allocations: 1.011 MB / 1.255 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/1.207, allocations: 1.642 MB / 1.256 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/1.207, allocations: 230 kB / 1.257 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001602/1.209, allocations: 288 kB / 1.257 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0154/1.224, allocations: 4.793 MB / 1.262 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/1.224, allocations: 3.938 kB / 1.262 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/1.226, allocations: 128 kB / 1.262 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003124/1.226, allocations: 193 kB / 1.262 GB, free: 468 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/1.237, allocations: 4.236 MB / 1.266 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/1.277, allocations: 23.11 MB / 1.289 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/1.282, allocations: 3.176 MB / 1.292 GB, free: 15.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/1.283, allocations: 109.7 kB / 1.292 GB, free: 15.28 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.283, allocations: 43.22 kB / 1.292 GB, free: 15.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=82): time 3.788e-06/1.283, allocations: 0 / 1.292 GB, free: 15.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=82): time 0.003999/1.287, allocations: 2.094 MB / 1.294 GB, free: 13.13 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.287, allocations: 226.4 kB / 1.294 GB, free: 12.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.289, allocations: 0.9921 MB / 1.295 GB, free: 11.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/1.289, allocations: 41.7 kB / 1.295 GB, free: 11.81 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.29, allocations: 1.285 MB / 1.296 GB, free: 10.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/1.291, allocations: 299.8 kB / 1.297 GB, free: 10.21 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.291, allocations: 32 kB / 1.297 GB, free: 10.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003256/1.291, allocations: 402.7 kB / 1.297 GB, free: 9.773 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.293, allocations: 0.89 MB / 1.298 GB, free: 8.883 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/1.295, allocations: 1.507 MB / 1.3 GB, free: 7.094 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/1.297, allocations: 1.193 MB / 1.301 GB, free: 5.898 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/1.297, allocations: 4 kB / 1.301 GB, free: 5.895 MB / 0.823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004406/1.302, allocations: 2.5 MB / 1.303 GB, free: 3.387 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.003211/1.305, allocations: 7.495 MB / 1.31 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.554e-05/1.305, allocations: 16 kB / 1.31 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-05/1.305, allocations: 32 kB / 1.31 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.307, allocations: 475.2 kB / 1.311 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.453e-05/1.307, allocations: 43.8 kB / 1.311 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.309, allocations: 337.9 kB / 1.311 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/1.309, allocations: 83.98 kB / 1.311 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.309, allocations: 5.094 kB / 1.311 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003913/1.313, allocations: 2.226 MB / 1.314 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-05/1.313, allocations: 20 kB / 1.314 GB, free: 8.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.025e-05/1.313, allocations: 35.94 kB / 1.314 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.315, allocations: 443.2 kB / 1.314 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.454e-05/1.315, allocations: 39.86 kB / 1.314 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.316, allocations: 258.6 kB / 1.314 GB, free: 7.328 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.317, allocations: 79.98 kB / 1.314 GB, free: 7.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002453/1.319, allocations: 1.273 MB / 1.316 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/1.32, allocations: 98.78 kB / 1.316 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/1.322, allocations: 1.591 MB / 1.317 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.322, allocations: 12 kB / 1.317 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.322, allocations: 0 / 1.317 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.322, allocations: 15.94 kB / 1.317 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009447/1.332, allocations: 4.244 MB / 1.321 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.332, allocations: 4 kB / 1.321 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.333, allocations: 235.6 kB / 1.322 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.541e-05/1.333, allocations: 4 kB / 1.322 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/1.333, allocations: 20 kB / 1.322 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/1.333, allocations: 8 kB / 1.322 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.333, allocations: 3.984 kB / 1.322 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/1.336, allocations: 2.003 MB / 1.324 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009272/1.337, allocations: 363.5 kB / 1.324 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.337, allocations: 19.98 kB / 1.324 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.338, allocations: 123.8 kB / 1.324 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.338, allocations: 48.59 kB / 1.324 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.338, allocations: 24 kB / 1.324 GB, free: 13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00153/1.34, allocations: 0.7917 MB / 1.325 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.34, allocations: 4 kB / 1.325 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005331/1.345, allocations: 1.356 MB / 1.326 GB, free: 10.85 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00334/1.349, allocations: 2.996 MB / 1.329 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005034/1.354, allocations: 3.002 MB / 1.332 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.354, allocations: 0 / 1.332 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009602/1.355, allocations: 0.675 MB / 1.333 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.356, allocations: 177.8 kB / 1.333 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.382, allocations: 23.9 MB / 1.356 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003141/1.386, allocations: 2.259 MB / 1.359 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002799/1.388, allocations: 1.109 MB / 1.36 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.39, allocations: 0.8234 MB / 1.36 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of SimCode: time 8.71e-07/1.39, allocations: 0 / 1.36 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05556/1.445, allocations: 30.85 MB / 1.391 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.446, allocations: 208.3 kB / 1.391 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/4.023, allocations: 0 / 1.391 GB, free: 8.367 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)