Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 86.09 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.001206/0.001206, 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.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.712/1.712, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0007329/0.000733, allocations: 20.47 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.261, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003015/0.2641, allocations: 2.267 MB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2662, allocations: 1.412 MB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.2664, allocations: 0 / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2665, allocations: 27.78 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.2669, allocations: 131.4 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.2673, allocations: 126.6 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.2676, allocations: 275.2 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.2683, allocations: 302.8 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.2684, allocations: 75.69 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.2687, allocations: 103.6 kB / 0.792 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.2688, allocations: 11.94 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.269, allocations: 131.8 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.2691, allocations: 67.81 kB / 0.7922 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.2692, allocations: 49.64 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.2695, allocations: 239.4 kB / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2695, allocations: 0 / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2695, allocations: 0 / 0.7925 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2695, allocations: 0 / 0.7925 GB, free: 6.582 MB / 0.6075 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.0007215/0.2703, allocations: 466.9 kB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.2703, allocations: 12.03 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.2704, allocations: 54.55 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006086/0.271, allocations: 83.67 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.2714, allocations: 234.7 kB / 0.7933 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2714, allocations: 8.328 kB / 0.7933 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.2715, allocations: 16 kB / 0.7933 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.272, allocations: 323.8 kB / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2721, allocations: 0 / 0.7936 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.2721, allocations: 8 kB / 0.7936 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.2722, allocations: 24.2 kB / 0.7936 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.2726, allocations: 252.6 kB / 0.7939 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2746, allocations: 1.626 MB / 0.7955 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.2753, allocations: 415.2 kB / 0.7959 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.2754, allocations: 89.77 kB / 0.796 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.2756, allocations: 89.25 kB / 0.796 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.2756, allocations: 38.5 kB / 0.7961 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2756, allocations: 0 / 0.7961 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006271/0.2762, allocations: 304.5 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.2763, allocations: 85.23 kB / 0.7964 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2765, allocations: 175.2 kB / 0.7966 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2765, allocations: 29.7 kB / 0.7966 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.2766, allocations: 151.8 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.2767, allocations: 43.36 kB / 0.7968 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.2767, allocations: 8 kB / 0.7968 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.2769, allocations: 322.8 kB / 0.7971 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.277, allocations: 75.95 kB / 0.7972 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2772, allocations: 161.3 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2774, allocations: 95.91 kB / 0.7975 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2774, allocations: 7.953 kB / 0.7975 GB, free: 1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003983/0.2778, allocations: 265.3 kB / 0.7977 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.2779, allocations: 165.8 kB / 0.7979 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.278, allocations: 4 kB / 0.7979 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.278, allocations: 4 kB / 0.7979 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2782, allocations: 51.89 kB / 0.7979 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2782, allocations: 4 kB / 0.7979 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.2784, allocations: 23.83 kB / 0.798 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2784, allocations: 8 kB / 0.798 GB, free: 452 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.2784, allocations: 4 kB / 0.798 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003118/0.2788, allocations: 222.9 kB / 0.7982 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2788, allocations: 7.953 kB / 0.7982 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.2788, allocations: 4 kB / 0.7982 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2789, allocations: 47.91 kB / 0.7982 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.279, allocations: 4 kB / 0.7983 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.663e-05/0.2791, allocations: 16.3 kB / 0.7983 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2791, allocations: 12 kB / 0.7983 GB, free: 136 kB / 0.6075 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.000203/0.2793, allocations: 217 kB / 0.7985 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.2794, allocations: 15.81 kB / 0.7985 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003989/0.2798, allocations: 212 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2798, allocations: 3.984 kB / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2798, allocations: 4 kB / 0.7987 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.2798, allocations: 8 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.281, allocations: 0.9573 MB / 0.7997 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2811, allocations: 4 kB / 0.7997 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2812, allocations: 39.91 kB / 0.7997 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2812, allocations: 4 kB / 0.7997 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2812, allocations: 4 kB / 0.7997 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2812, allocations: 8.375 kB / 0.7997 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.2813, allocations: 11.98 kB / 0.7997 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.2817, allocations: 428.8 kB / 0.8001 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.2819, allocations: 116.8 kB / 0.8002 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.2819, allocations: 8 kB / 0.8002 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2821, allocations: 15.98 kB / 0.8003 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.2821, allocations: 19.94 kB / 0.8003 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2822, allocations: 4 kB / 0.8003 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2823, allocations: 131.7 kB / 0.8004 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2823, allocations: 4 kB / 0.8004 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004864/0.2828, allocations: 68 kB / 0.8005 GB, free: 13.67 MB / 0.6231 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.0009147/0.2837, allocations: 0.9754 MB / 0.8014 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.2842, allocations: 295.5 kB / 0.8017 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2842, allocations: 4 kB / 0.8017 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2844, allocations: 89.83 kB / 0.8018 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.2849, allocations: 30.69 kB / 0.8018 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.2867, allocations: 1.227 MB / 0.803 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.2872, allocations: 0.748 MB / 0.8038 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2874, allocations: 85.47 kB / 0.8038 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.2875, allocations: 51.42 kB / 0.8039 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2875, allocations: 0 / 0.8039 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.3023, allocations: 3.346 MB / 0.8072 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.3026, allocations: 221.6 kB / 0.8074 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.056, allocations: 0 / 0.8074 GB, free: 6.578 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: