Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.000992, allocations: 183.4 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 90 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 9.906 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2076, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003404/0.2111, allocations: 2.247 MB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.2132, allocations: 1.419 MB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.2134, allocations: 7.938 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.2136, allocations: 23.78 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.2141, allocations: 151.4 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.2144, allocations: 111.8 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.2147, allocations: 271.2 kB / 0.9044 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.2152, allocations: 302.5 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2154, allocations: 79.69 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.2157, allocations: 111.6 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.2157, allocations: 8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.216, allocations: 127.8 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.216, allocations: 63.84 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.2161, allocations: 57.58 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.2164, allocations: 231.7 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2164, allocations: 0 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2164, allocations: 0 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2164, allocations: 0 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005886/0.217, allocations: 463 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.217, allocations: 12.03 kB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.2171, allocations: 54.53 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/0.2177, allocations: 79.61 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.2179, allocations: 230.7 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2179, allocations: 12.27 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.218, allocations: 27.92 kB / 0.9062 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.2184, allocations: 315.8 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2184, allocations: 0 / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.2184, allocations: 8 kB / 0.9065 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.2185, allocations: 24.25 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.2188, allocations: 256.5 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2201, allocations: 1.63 MB / 0.9084 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.2206, allocations: 407.2 kB / 0.9088 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.2207, allocations: 85.67 kB / 0.9089 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.2208, allocations: 89.3 kB / 0.9089 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2209, allocations: 50.44 kB / 0.909 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2209, allocations: 0 / 0.909 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.000556/0.2214, allocations: 300.5 kB / 0.9093 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.2215, allocations: 81.11 kB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2216, allocations: 178.1 kB / 0.9095 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2216, allocations: 25.7 kB / 0.9095 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.2217, allocations: 147.9 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.2217, allocations: 47.48 kB / 0.9097 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.2217, allocations: 8 kB / 0.9097 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.2218, allocations: 330.8 kB / 0.9101 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.2219, allocations: 71.95 kB / 0.9101 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.222, allocations: 153.9 kB / 0.9103 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.2222, allocations: 106.7 kB / 0.9104 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2222, allocations: 4 kB / 0.9104 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000322/0.2225, allocations: 273.2 kB / 0.9106 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.319e-05/0.2226, allocations: 153.9 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2226, allocations: 4 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2226, allocations: 4 kB / 0.9108 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.2229, allocations: 59.89 kB / 0.9108 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.2229, allocations: 4 kB / 0.9109 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.223, allocations: 15.98 kB / 0.9109 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.223, allocations: 15.98 kB / 0.9109 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.2231, allocations: 3.953 kB / 0.9109 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002669/0.2233, allocations: 207.7 kB / 0.9111 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2233, allocations: 4.312 kB / 0.9111 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.2234, allocations: 8.188 kB / 0.9111 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.2235, allocations: 51.91 kB / 0.9111 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2236, allocations: 11.88 kB / 0.9112 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2237, allocations: 19.83 kB / 0.9112 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2237, allocations: 12 kB / 0.9112 GB, free: 52.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * 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.0001186/0.2238, allocations: 221.1 kB / 0.9114 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.2239, allocations: 11.86 kB / 0.9114 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.2242, allocations: 211.6 kB / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2242, allocations: 0 / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2242, allocations: 0 / 0.9116 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.2242, allocations: 4.047 kB / 0.9116 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009652/0.2252, allocations: 0.9655 MB / 0.9126 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2252, allocations: 8.062 kB / 0.9126 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.2253, allocations: 31.92 kB / 0.9126 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.2254, allocations: 4 kB / 0.9126 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2254, allocations: 11.98 kB / 0.9126 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.2254, allocations: 7.938 kB / 0.9126 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2254, allocations: 4 kB / 0.9126 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2257, allocations: 432.8 kB / 0.913 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.2258, allocations: 109 kB / 0.9131 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2258, allocations: 11.98 kB / 0.9132 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.226, allocations: 15.98 kB / 0.9132 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.226, allocations: 15.89 kB / 0.9132 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.226, allocations: 15.98 kB / 0.9132 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.2261, allocations: 135.8 kB / 0.9133 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2261, allocations: 0 / 0.9133 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004502/0.2266, allocations: 72 kB / 0.9134 GB, free: 49.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0004736/0.2271, allocations: 0.9729 MB / 0.9143 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.2275, allocations: 309.7 kB / 0.9146 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2275, allocations: 0 / 0.9146 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.2276, allocations: 75.83 kB / 0.9147 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.228, allocations: 30.02 kB / 0.9147 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2295, allocations: 1.223 MB / 0.9159 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.2297, allocations: 0.748 MB / 0.9167 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.2299, allocations: 77.62 kB / 0.9167 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.001e-05/0.23, allocations: 47.42 kB / 0.9168 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.23, allocations: 0 / 0.9168 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.2441, allocations: 3.366 MB / 0.9201 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/0.2443, allocations: 232.7 kB / 0.9203 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.923, allocations: 4 kB / 0.9203 GB, free: 42.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)