Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 185.8 kB / 16.62 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001561/0.001561, allocations: 66.73 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2254, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02199/0.2475, allocations: 17.19 MB / 0.8004 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.258, allocations: 5.889 MB / 0.8062 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.2596, allocations: 55.88 kB / 0.8062 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.2634, allocations: 1.298 MB / 0.8075 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.2657, allocations: 0.8402 MB / 0.8083 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.2691, allocations: 1.332 MB / 0.8096 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004787/0.2739, allocations: 4.283 MB / 0.8138 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009533/0.2835, allocations: 6.809 MB / 0.8204 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.287, allocations: 1.909 MB / 0.8223 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003503/0.2905, allocations: 2.295 MB / 0.8245 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00105/0.2916, allocations: 444 kB / 0.825 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.2936, allocations: 0.8467 MB / 0.8258 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002133/0.2958, allocations: 1.723 MB / 0.8275 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.2988, allocations: 1.763 MB / 0.8292 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006271/0.3051, allocations: 6.369 MB / 0.8354 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3051, allocations: 4 kB / 0.8354 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3052, allocations: 4 kB / 0.8354 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001475/0.3053, allocations: 0 / 0.8354 GB, free: 7.957 MB / 0.6544 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.006714/0.312, allocations: 3.076 MB / 0.8384 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3121, allocations: 8.031 kB / 0.8384 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005979/0.3127, allocations: 470.6 kB / 0.8389 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.3176, allocations: 1.113 MB / 0.84 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.3207, allocations: 1.631 MB / 0.8416 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.3209, allocations: 222.4 kB / 0.8418 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/0.3215, allocations: 292.3 kB / 0.8421 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009169/0.3306, allocations: 5.303 MB / 0.8472 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.3307, allocations: 3.938 kB / 0.8472 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.331, allocations: 128 kB / 0.8474 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000215/0.3313, allocations: 205.1 kB / 0.8476 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.3387, allocations: 4.757 MB / 0.8522 GB, free: 6.547 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/0.365, allocations: 23 MB / 0.8747 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.3697, allocations: 3.187 MB / 0.8778 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.3712, allocations: 0.925 MB / 0.8787 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.3714, allocations: 105.7 kB / 0.8788 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3715, allocations: 47.14 kB / 0.8788 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/0.3715, allocations: 0 / 0.8788 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003244/0.3747, allocations: 2.074 MB / 0.8809 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.3748, allocations: 214.3 kB / 0.8811 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.3764, allocations: 1.103 MB / 0.8821 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.3765, allocations: 49.7 kB / 0.8822 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/0.3774, allocations: 1.285 MB / 0.8834 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.3776, allocations: 299.9 kB / 0.8837 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005181/0.3782, allocations: 347.1 kB / 0.8841 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3783, allocations: 341.9 kB / 0.8844 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3795, allocations: 0.8908 MB / 0.8853 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.3811, allocations: 1.515 MB / 0.8867 GB, free: 244 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.3839, allocations: 2.354 MB / 0.889 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/0.3839, allocations: 4 kB / 0.889 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003589/0.3875, allocations: 2.492 MB / 0.8915 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3875, allocations: 16.97 kB / 0.8915 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.3876, allocations: 20 kB / 0.8915 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/0.3876, allocations: 28 kB / 0.8915 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.3891, allocations: 459.2 kB / 0.892 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.26e-05/0.3892, allocations: 43.84 kB / 0.892 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.3907, allocations: 341.7 kB / 0.8923 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.3909, allocations: 83.97 kB / 0.8924 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002661/0.3935, allocations: 1.909 MB / 0.8943 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/0.3951, allocations: 1.435 MB / 0.8957 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002475/0.3976, allocations: 2.202 MB / 0.8978 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.371e-05/0.3976, allocations: 8 kB / 0.8978 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003444/0.401, allocations: 2.327 MB / 0.9001 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.4011, allocations: 12 kB / 0.9001 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.4011, allocations: 20.97 kB / 0.9001 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.4012, allocations: 28 kB / 0.9002 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4026, allocations: 443.2 kB / 0.9006 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.627e-05/0.4027, allocations: 43.86 kB / 0.9006 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4042, allocations: 282.5 kB / 0.9009 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.4043, allocations: 83.92 kB / 0.901 GB, free: 0.793 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003891/0.4047, allocations: 287.6 kB / 0.9013 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.4051, allocations: 102.9 kB / 0.9014 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.4074, allocations: 1.548 MB / 0.9029 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4074, allocations: 8 kB / 0.9029 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4074, allocations: 4 kB / 0.9029 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4074, allocations: 7.922 kB / 0.9029 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007421/0.4149, allocations: 4.489 MB / 0.9073 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.4149, allocations: 4 kB / 0.9073 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4159, allocations: 243.6 kB / 0.9075 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.416, allocations: 7.984 kB / 0.9075 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.416, allocations: 16 kB / 0.9075 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.4161, allocations: 12 kB / 0.9075 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4161, allocations: 0 / 0.9075 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.4183, allocations: 1.912 MB / 0.9094 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.4188, allocations: 323.6 kB / 0.9097 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.4191, allocations: 12 kB / 0.9097 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/0.42, allocations: 123.8 kB / 0.9098 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4202, allocations: 56.52 kB / 0.9099 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.4202, allocations: 20 kB / 0.9099 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001097/0.4213, allocations: 0.8073 MB / 0.9107 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4213, allocations: 0 / 0.9107 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003331/0.4247, allocations: 1.298 MB / 0.912 GB, free: 5.348 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002414/0.4271, allocations: 2.484 MB / 0.9144 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3355/0.7626, allocations: 2.978 MB / 0.9173 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.7627, allocations: 0.7812 kB / 0.9173 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7638, allocations: 0.6594 MB / 0.918 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7654, allocations: 193.4 kB / 0.9181 GB, free: 130.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/0.7845, allocations: 15.15 MB / 0.9329 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/0.7869, allocations: 2.207 MB / 0.9351 GB, free: 122.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0025/0.7894, allocations: 1.097 MB / 0.9362 GB, free: 122.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009713/0.7904, allocations: 0.836 MB / 0.937 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.293e-06/0.7904, allocations: 0 / 0.937 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.8395, allocations: 31.31 MB / 0.9675 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.069/9.909, allocations: 11.56 kB / 0.9676 GB, free: 105.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)