Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.835/2.835, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.002096/0.002096, allocations: 186.3 kB / 371 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008747/0.0008746, allocations: 89.11 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005067, allocations: 15.3 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.218, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003513/0.2215, allocations: 2.255 MB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002839/0.2244, allocations: 1.412 MB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.2247, allocations: 7.938 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.2249, allocations: 23.78 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.2255, allocations: 139.4 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.226, allocations: 115.8 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.2264, allocations: 279.2 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007716/0.2272, allocations: 306.7 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.2274, allocations: 79.69 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2277, allocations: 107.6 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.2278, allocations: 8 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.2282, allocations: 127.8 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.2283, allocations: 63.81 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.2284, allocations: 57.58 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.2288, allocations: 239.4 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2288, allocations: 0 / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2288, allocations: 0 / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2288, allocations: 4 kB / 0.9835 GB, free: 22.98 MB / 0.6198 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.0007382/0.2296, allocations: 466.9 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2296, allocations: 8.031 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/0.2297, allocations: 50.55 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/0.2305, allocations: 83.67 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.2308, allocations: 232.6 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2309, allocations: 12.33 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.2309, allocations: 15.94 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.2316, allocations: 324.1 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2316, allocations: 0 / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.2316, allocations: 8 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/0.2317, allocations: 24.27 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.2324, allocations: 252.5 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.2345, allocations: 1.626 MB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.2355, allocations: 411.2 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2357, allocations: 85.67 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.2359, allocations: 89.09 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.236, allocations: 38.5 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.534e-06/0.236, allocations: 0 / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0009955/0.237, allocations: 300.7 kB / 0.9874 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.237, allocations: 85.23 kB / 0.9875 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.2372, allocations: 172.2 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2373, allocations: 33.69 kB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.2373, allocations: 147.8 kB / 0.9878 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2374, allocations: 51.34 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.2374, allocations: 4 kB / 0.9879 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.673e-05/0.2375, allocations: 326.8 kB / 0.9882 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2377, allocations: 71.95 kB / 0.9883 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2379, allocations: 154.6 kB / 0.9884 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2382, allocations: 99.97 kB / 0.9885 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2382, allocations: 0 / 0.9885 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005697/0.2387, allocations: 269.2 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.2388, allocations: 163.9 kB / 0.9889 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2389, allocations: 4.188 kB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.2389, allocations: 4 kB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004318/0.2393, allocations: 59.88 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2394, allocations: 4 kB / 0.989 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.2396, allocations: 27.81 kB / 0.989 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2397, allocations: 8 kB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.2397, allocations: 7.953 kB / 0.989 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000439/0.2401, allocations: 212.4 kB / 0.9892 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2401, allocations: 8 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.2402, allocations: 4 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.2405, allocations: 47.91 kB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2405, allocations: 7.938 kB / 0.9893 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.2407, allocations: 15.98 kB / 0.9893 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.2408, allocations: 8.312 kB / 0.9893 GB, free: 16.56 MB / 0.6198 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.0001899/0.241, allocations: 221.1 kB / 0.9895 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.2411, allocations: 23.7 kB / 0.9896 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.2416, allocations: 199.7 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2416, allocations: 4 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2416, allocations: 3.984 kB / 0.9897 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2416, allocations: 4 kB / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2432, allocations: 0.9573 MB / 0.9907 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.2433, allocations: 4 kB / 0.9907 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.2436, allocations: 35.91 kB / 0.9907 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.2436, allocations: 8 kB / 0.9907 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.2436, allocations: 8 kB / 0.9907 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/0.2437, allocations: 8.375 kB / 0.9907 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.2437, allocations: 8 kB / 0.9908 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.2442, allocations: 433.7 kB / 0.9912 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2443, allocations: 112.8 kB / 0.9913 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.2444, allocations: 8 kB / 0.9913 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.2447, allocations: 15.98 kB / 0.9913 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2448, allocations: 23.88 kB / 0.9913 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.2448, allocations: 8 kB / 0.9913 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001472/0.245, allocations: 135.7 kB / 0.9915 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.245, allocations: 3.938 kB / 0.9915 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007347/0.2457, allocations: 72 kB / 0.9915 GB, free: 14.09 MB / 0.6198 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.0007597/0.2465, allocations: 0.9696 MB / 0.9925 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006848/0.2472, allocations: 299.5 kB / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2472, allocations: 0 / 0.9928 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2474, allocations: 85.81 kB / 0.9928 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.2481, allocations: 36.59 kB / 0.9929 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.2504, allocations: 1.217 MB / 0.9941 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.2507, allocations: 0.748 MB / 0.9948 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003671/0.2511, allocations: 85.59 kB / 0.9949 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2512, allocations: 52.05 kB / 0.9949 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2512, allocations: 0 / 0.9949 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2784, allocations: 3.358 MB / 0.9982 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.2787, allocations: 216.9 kB / 0.9984 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/2.877, allocations: 0 / 0.9984 GB, free: 7.008 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)