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.0008599/0.0008599, allocations: 87.03 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.0008957/0.0008957, 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 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.8/1.8, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005509/0.000551, allocations: 12.69 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2746, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01757/0.2922, allocations: 15.6 MB / 0.8026 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009725/0.302, allocations: 5.568 MB / 0.8081 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.3039, allocations: 47.88 kB / 0.8081 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.3052, allocations: 321.7 kB / 0.8084 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.3077, allocations: 0.638 MB / 0.8091 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3103, allocations: 0.6889 MB / 0.8097 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.3163, allocations: 4.95 MB / 0.8146 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.3287, allocations: 7.047 MB / 0.8214 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.3316, allocations: 1.3 MB / 0.8227 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00408/0.3357, allocations: 1.885 MB / 0.8246 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.3369, allocations: 196 kB / 0.8247 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002327/0.3393, allocations: 419.6 kB / 0.8251 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.3424, allocations: 1.376 MB / 0.8265 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.344, allocations: 0.5667 MB / 0.827 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.3512, allocations: 5.338 MB / 0.8323 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.3513, allocations: 0 / 0.8323 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3513, allocations: 0 / 0.8323 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000219/0.3515, allocations: 0 / 0.8323 GB, free: 13.7 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.007786/0.3593, allocations: 2.506 MB / 0.8347 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3594, allocations: 16.02 kB / 0.8347 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001737/0.3611, allocations: 462.5 kB / 0.8352 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005925/0.3671, allocations: 1.136 MB / 0.8363 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.3714, allocations: 1.584 MB / 0.8378 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.3718, allocations: 225.9 kB / 0.838 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/0.3732, allocations: 300 kB / 0.8383 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.3871, allocations: 5.28 MB / 0.8435 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.115e-05/0.3872, allocations: 0 / 0.8435 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.3876, allocations: 124 kB / 0.8436 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002691/0.3879, allocations: 209.1 kB / 0.8438 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009461/0.3974, allocations: 4.743 MB / 0.8484 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.4291, allocations: 23.2 MB / 0.8711 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/0.434, allocations: 3.187 MB / 0.8742 GB, free: 8 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.4355, allocations: 0.9134 MB / 0.8751 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.4357, allocations: 109.7 kB / 0.8752 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.4357, allocations: 43.22 kB / 0.8752 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.256e-06/0.4358, allocations: 0 / 0.8752 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003816/0.4396, allocations: 2.086 MB / 0.8773 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.4398, allocations: 226.2 kB / 0.8775 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.4417, allocations: 1.086 MB / 0.8785 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.4418, allocations: 41.7 kB / 0.8786 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.443, allocations: 1.281 MB / 0.8798 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.4434, allocations: 299.9 kB / 0.8801 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.4435, allocations: 32 kB / 0.8802 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.4437, allocations: 414.7 kB / 0.8805 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.445, allocations: 0.8822 MB / 0.8814 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.4469, allocations: 1.499 MB / 0.8829 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.4487, allocations: 1.193 MB / 0.884 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.4487, allocations: 4 kB / 0.884 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003875/0.4526, allocations: 2.488 MB / 0.8865 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005541/0.4531, allocations: 0.6467 MB / 0.8871 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4532, allocations: 16 kB / 0.8871 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-05/0.4532, allocations: 35.98 kB / 0.8872 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.4548, allocations: 459.2 kB / 0.8876 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-05/0.4549, allocations: 43.84 kB / 0.8876 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.4563, allocations: 357.7 kB / 0.888 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4565, allocations: 83.86 kB / 0.8881 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.4565, allocations: 4 kB / 0.8881 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003281/0.4598, allocations: 2.21 MB / 0.8902 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.4598, allocations: 16 kB / 0.8902 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.4599, allocations: 32 kB / 0.8903 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.4612, allocations: 439.2 kB / 0.8907 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-05/0.4613, allocations: 43.84 kB / 0.8907 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4624, allocations: 254.9 kB / 0.891 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4625, allocations: 75.98 kB / 0.891 GB, free: 14.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002054/0.4646, allocations: 1.281 MB / 0.8923 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.4649, allocations: 94.88 kB / 0.8924 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.4675, allocations: 1.567 MB / 0.8939 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4675, allocations: 11.94 kB / 0.8939 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4675, allocations: 4 kB / 0.8939 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4676, allocations: 7.984 kB / 0.8939 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/0.4746, allocations: 4.494 MB / 0.8983 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4746, allocations: 0 / 0.8983 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/0.4756, allocations: 255.6 kB / 0.8986 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.4756, allocations: 4 kB / 0.8986 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.4757, allocations: 19.98 kB / 0.8986 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.4757, allocations: 7.938 kB / 0.8986 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4757, allocations: 0 / 0.8986 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.478, allocations: 1.915 MB / 0.9005 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005872/0.4786, allocations: 367.4 kB / 0.9008 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4787, allocations: 19.98 kB / 0.9008 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.4795, allocations: 123.8 kB / 0.901 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.4797, allocations: 52.58 kB / 0.901 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.4797, allocations: 20 kB / 0.901 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001111/0.4808, allocations: 0.7956 MB / 0.9018 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4809, allocations: 0 / 0.9018 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003729/0.4846, allocations: 1.302 MB / 0.9031 GB, free: 1.52 MB / 0.7169 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.00271/0.4873, allocations: 2.476 MB / 0.9055 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005021/0.4923, allocations: 2.971 MB / 0.9084 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4924, allocations: 0 / 0.9084 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.4934, allocations: 0.6648 MB / 0.909 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.495, allocations: 188.9 kB / 0.9092 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.523/1.018, allocations: 11.01 MB / 0.92 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.022, allocations: 2.204 MB / 0.9221 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003039/1.025, allocations: 1.098 MB / 0.9232 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/1.026, allocations: 0.8348 MB / 0.924 GB, free: 126 MB / 0.7325 GB Notification: Performance of SimCode: time 1.353e-06/1.026, allocations: 3.375 kB / 0.924 GB, free: 126 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07336/1.099, allocations: 30.67 MB / 0.954 GB, free: 116.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.1, allocations: 216.5 kB / 0.9542 GB, free: 116 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.459, allocations: 0 / 0.9542 GB, free: 116 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/linux/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) Environment - environmentSimulation: