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 1.513/1.513, allocations: 287.4 MB / 302.6 MB, free: 8.227 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.001132/0.001132, allocations: 177.5 kB / 371.1 MB, free: 10.84 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.507/1.507, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007101/0.0007101, allocations: 91.47 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 11.47 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2304, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002879/0.2334, allocations: 2.248 MB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.2353, allocations: 1.424 MB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.2355, allocations: 4 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.2358, allocations: 23.78 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.2363, allocations: 135.4 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.2367, allocations: 123.7 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.237, allocations: 275.2 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005581/0.2375, allocations: 333.5 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2377, allocations: 83.67 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2379, allocations: 103.6 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.2379, allocations: 12 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2381, allocations: 119.8 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.2382, allocations: 67.8 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.2382, allocations: 53.64 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2384, allocations: 239.4 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2385, allocations: 0 / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2385, allocations: 0 / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2385, allocations: 0 / 0.9838 GB, free: 22.82 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.0005133/0.239, allocations: 471.1 kB / 0.9843 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.239, allocations: 8.031 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.2391, allocations: 54.73 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004764/0.2396, allocations: 76.66 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2398, allocations: 224.1 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2398, allocations: 20.67 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.2399, allocations: 20.38 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.2403, allocations: 324 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2403, allocations: 3.938 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2403, allocations: 8 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.2404, allocations: 20.27 kB / 0.985 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2407, allocations: 260.5 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2418, allocations: 1.622 MB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.2423, allocations: 415.1 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.2424, allocations: 85.67 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.2426, allocations: 89.09 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2426, allocations: 30.56 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.2426, allocations: 0 / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0005339/0.2431, allocations: 320.3 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2432, allocations: 81.33 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2433, allocations: 168.2 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2433, allocations: 33.7 kB / 0.988 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.2434, allocations: 147.8 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2434, allocations: 47.36 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.2434, allocations: 0 / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.2435, allocations: 327 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/0.2436, allocations: 79.95 kB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2437, allocations: 142.7 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.2439, allocations: 249.2 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2439, allocations: 0 / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003159/0.2443, allocations: 274.1 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.2443, allocations: 165.8 kB / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2443, allocations: 0 / 0.9894 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2444, allocations: 4 kB / 0.9894 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2446, allocations: 55.89 kB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2446, allocations: 4 kB / 0.9894 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2447, allocations: 19.92 kB / 0.9895 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2448, allocations: 15.98 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.2448, allocations: 4 kB / 0.9895 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002338/0.245, allocations: 209.2 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-06/0.245, allocations: 0 / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-06/0.245, allocations: 4 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2452, allocations: 51.91 kB / 0.9897 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2452, allocations: 7.938 kB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.2453, allocations: 15.89 kB / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2453, allocations: 12 kB / 0.9898 GB, free: 16.22 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 9.638e-05/0.2454, allocations: 225.3 kB / 0.99 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.2455, allocations: 15.81 kB / 0.99 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.2458, allocations: 212 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2458, allocations: 7.938 kB / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2458, allocations: 192 / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2458, allocations: 0 / 0.9902 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.2467, allocations: 0.9691 MB / 0.9911 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2468, allocations: 4.047 kB / 0.9911 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2469, allocations: 39.91 kB / 0.9912 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2469, allocations: 4 kB / 0.9912 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2469, allocations: 7.984 kB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2469, allocations: 4 kB / 0.9912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2469, allocations: 4 kB / 0.9912 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.2472, allocations: 445 kB / 0.9916 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.2473, allocations: 108.9 kB / 0.9917 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.2473, allocations: 7.984 kB / 0.9917 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.2475, allocations: 11.98 kB / 0.9918 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.2475, allocations: 23.92 kB / 0.9918 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2476, allocations: 11.94 kB / 0.9918 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.051e-05/0.2476, allocations: 131.8 kB / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 0 / 0.9919 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004225/0.2481, allocations: 72 kB / 0.992 GB, free: 13.75 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.0004734/0.2486, allocations: 0.9882 MB / 0.9929 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.2489, allocations: 297.2 kB / 0.9932 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.249, allocations: 4 kB / 0.9932 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.684e-05/0.249, allocations: 81.33 kB / 0.9933 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2495, allocations: 30.78 kB / 0.9933 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.251, allocations: 1.232 MB / 0.9945 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.2512, allocations: 0.7518 MB / 0.9953 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.2514, allocations: 73.47 kB / 0.9953 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.2514, allocations: 47.42 kB / 0.9954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2514, allocations: 0 / 0.9954 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3166/0.568, allocations: 3.342 MB / 0.9987 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.5682, allocations: 222 kB / 0.9989 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.339, allocations: 0 / 0.9989 GB, free: 6.66 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)