Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.001138/0.001138, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001118/0.001118, allocations: 194.2 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6818/0.6818, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003216/0.2891, allocations: 2.607 MB / 0.5698 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.2909, allocations: 1.484 MB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.2909, allocations: 2.812 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.2916, allocations: 219.1 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.2919, allocations: 192.8 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2922, allocations: 153.9 kB / 0.5718 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.2924, allocations: 226.4 kB / 0.572 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.2927, allocations: 173.2 kB / 0.5722 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.2928, allocations: 105.3 kB / 0.5723 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.293, allocations: 115.9 kB / 0.5724 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.293, allocations: 15.44 kB / 0.5724 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.2933, allocations: 219.1 kB / 0.5726 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.2934, allocations: 80.17 kB / 0.5727 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.723e-05/0.2935, allocations: 87.41 kB / 0.5728 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2938, allocations: 319.8 kB / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2938, allocations: 1.828 kB / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2938, allocations: 0 / 0.5731 GB, free: 29.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2939, allocations: 0 / 0.5731 GB, free: 29.17 MB / 446.1 MB 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.0004967/0.2944, allocations: 492.5 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2944, allocations: 11.38 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.2944, allocations: 53.62 kB / 0.5736 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.295, allocations: 80.94 kB / 0.5737 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2951, allocations: 226.2 kB / 0.5739 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2952, allocations: 15.53 kB / 0.5739 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.2952, allocations: 19.88 kB / 0.574 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.2956, allocations: 325.5 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2956, allocations: 1.156 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2956, allocations: 7.703 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.2957, allocations: 26.36 kB / 0.5743 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.296, allocations: 249 kB / 0.5745 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2971, allocations: 1.637 MB / 0.5761 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.2977, allocations: 412 kB / 0.5765 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2978, allocations: 93.23 kB / 0.5766 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.2979, allocations: 85.88 kB / 0.5767 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2979, allocations: 37.92 kB / 0.5767 GB, free: 26.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2979, allocations: 1.438 kB / 0.5767 GB, free: 26.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005297/0.2985, allocations: 308.1 kB / 0.577 GB, free: 26.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.2985, allocations: 79.86 kB / 0.5771 GB, free: 25.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2986, allocations: 173.7 kB / 0.5773 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2986, allocations: 27.98 kB / 0.5773 GB, free: 25.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.2987, allocations: 150.2 kB / 0.5775 GB, free: 25.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2987, allocations: 49.72 kB / 0.5775 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.2988, allocations: 48.11 kB / 0.5775 GB, free: 25.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.2988, allocations: 324.9 kB / 0.5779 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2989, allocations: 89.06 kB / 0.5779 GB, free: 25.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.2991, allocations: 149.7 kB / 0.5781 GB, free: 25.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.2993, allocations: 245.9 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2993, allocations: 1.875 kB / 0.5783 GB, free: 25 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000328/0.2997, allocations: 272.3 kB / 0.5786 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2997, allocations: 12 kB / 0.5786 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2997, allocations: 7.172 kB / 0.5786 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2997, allocations: 8.391 kB / 0.5786 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.2999, allocations: 53.66 kB / 0.5787 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2999, allocations: 6.141 kB / 0.5787 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.3001, allocations: 21.47 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3001, allocations: 8.672 kB / 0.5787 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001367/0.3002, allocations: 175.9 kB / 0.5789 GB, free: 24.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001066/0.3003, allocations: 152.5 kB / 0.579 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001933/0.3005, allocations: 239.1 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.623e-06/0.3006, allocations: 1.375 kB / 0.5792 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002878/0.3009, allocations: 247.8 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.3009, allocations: 5.5 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3009, allocations: 4.125 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/0.3009, allocations: 7.25 kB / 0.5795 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.301, allocations: 55.25 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3011, allocations: 8.906 kB / 0.5795 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3012, allocations: 19.31 kB / 0.5796 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3012, allocations: 13.22 kB / 0.5796 GB, free: 24.32 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.3012, allocations: 193.4 kB / 0.5798 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.3013, allocations: 21.14 kB / 0.5798 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.3016, allocations: 206 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3016, allocations: 1.938 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3016, allocations: 2.688 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3016, allocations: 1.266 kB / 0.58 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3027, allocations: 0.9678 MB / 0.5809 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3027, allocations: 5.375 kB / 0.5809 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3028, allocations: 30.06 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.3028, allocations: 5.203 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3029, allocations: 6.281 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.3029, allocations: 8.078 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3029, allocations: 9.812 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.3032, allocations: 431.4 kB / 0.5814 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.3033, allocations: 110.6 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3033, allocations: 7.391 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3035, allocations: 12.69 kB / 0.5815 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3036, allocations: 23.97 kB / 0.5816 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3036, allocations: 9.031 kB / 0.5816 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.034e-05/0.3037, allocations: 131.3 kB / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3037, allocations: 0 / 0.5817 GB, free: 22.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.3042, allocations: 71.44 kB / 0.5818 GB, free: 22.72 MB / 446.1 MB 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 (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.0005045/0.3047, allocations: 0.9888 MB / 0.5827 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.3052, allocations: 308.2 kB / 0.583 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3052, allocations: 0 / 0.583 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3053, allocations: 87.88 kB / 0.5831 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.3057, allocations: 33.17 kB / 0.5831 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.3075, allocations: 2.408 MB / 0.5855 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.3077, allocations: 0.7436 MB / 0.5862 GB, free: 18.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.3079, allocations: 74.72 kB / 0.5863 GB, free: 18.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3079, allocations: 48.7 kB / 0.5863 GB, free: 18.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.308, allocations: 0 / 0.5863 GB, free: 18.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.349/2.657, allocations: 3.565 MB / 0.5898 GB, free: 17.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/10.53, allocations: 5.453 kB / 0.5898 GB, free: 17.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)