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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007918/0.007918, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001312/0.001312, allocations: 194 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 251.7 MB / 0.5094 GB, free: 3.008 MB / 414.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.001501/0.001501, allocations: 64.36 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004656/0.2935, allocations: 2.627 MB / 0.8306 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2965, allocations: 1.539 MB / 0.8321 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2966, allocations: 4 kB / 0.8321 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009199/0.2976, allocations: 227.1 kB / 0.8323 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.2981, allocations: 187.2 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.2985, allocations: 159 kB / 0.8326 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2989, allocations: 223.3 kB / 0.8329 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/0.2993, allocations: 166.5 kB / 0.833 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2994, allocations: 103.6 kB / 0.8331 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.2997, allocations: 111.7 kB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2997, allocations: 12 kB / 0.8332 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.3001, allocations: 231.4 kB / 0.8335 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.3002, allocations: 75.8 kB / 0.8335 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.3003, allocations: 91.53 kB / 0.8336 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3007, allocations: 319.1 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3007, allocations: 0 / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3007, allocations: 0 / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3008, allocations: 0 / 0.8339 GB, free: 10.16 MB / 0.6544 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.0007964/0.3016, allocations: 495.1 kB / 0.8344 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3016, allocations: 8.031 kB / 0.8344 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.3022, allocations: 84.55 kB / 0.8345 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3025, allocations: 240 kB / 0.8347 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3025, allocations: 12.7 kB / 0.8347 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.3026, allocations: 16.36 kB / 0.8347 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3031, allocations: 320.4 kB / 0.835 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3031, allocations: 7.938 kB / 0.835 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3032, allocations: 7.984 kB / 0.8351 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.3032, allocations: 24.27 kB / 0.8351 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.3036, allocations: 252.6 kB / 0.8353 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.3054, allocations: 1.618 MB / 0.8369 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.3061, allocations: 415.1 kB / 0.8373 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3062, allocations: 81.67 kB / 0.8374 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.3064, allocations: 89.09 kB / 0.8375 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3065, allocations: 42.56 kB / 0.8375 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.3065, allocations: 0 / 0.8375 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0007749/0.3073, allocations: 320.8 kB / 0.8378 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3073, allocations: 77.11 kB / 0.8379 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3075, allocations: 175.2 kB / 0.838 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3076, allocations: 25.7 kB / 0.8381 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3077, allocations: 151.8 kB / 0.8382 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.3077, allocations: 47.53 kB / 0.8383 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.3078, allocations: 53.61 kB / 0.8383 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.308, allocations: 326.8 kB / 0.8386 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3082, allocations: 84.75 kB / 0.8387 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3084, allocations: 151.1 kB / 0.8388 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.3087, allocations: 249.2 kB / 0.8391 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3088, allocations: 0 / 0.8391 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004411/0.3092, allocations: 269.5 kB / 0.8393 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3092, allocations: 8.125 kB / 0.8394 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3092, allocations: 4 kB / 0.8394 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.3093, allocations: 11.88 kB / 0.8394 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3095, allocations: 51.95 kB / 0.8394 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3095, allocations: 7.938 kB / 0.8394 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3097, allocations: 23.83 kB / 0.8394 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3097, allocations: 8 kB / 0.8395 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001768/0.3099, allocations: 176.1 kB / 0.8396 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00016/0.3101, allocations: 153.2 kB / 0.8398 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002766/0.3104, allocations: 236.1 kB / 0.84 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3104, allocations: 0 / 0.84 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003758/0.3108, allocations: 245.4 kB / 0.8402 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3108, allocations: 8 kB / 0.8402 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/0.3108, allocations: 0 / 0.8402 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.3108, allocations: 4.344 kB / 0.8402 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.311, allocations: 59.84 kB / 0.8403 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.311, allocations: 7.984 kB / 0.8403 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3112, allocations: 19.89 kB / 0.8403 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3112, allocations: 8 kB / 0.8403 GB, free: 3.02 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3113, allocations: 196.1 kB / 0.8405 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.3114, allocations: 7.906 kB / 0.8405 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.3118, allocations: 215.7 kB / 0.8407 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3118, allocations: 7.922 kB / 0.8407 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3118, allocations: 7.984 kB / 0.8407 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3118, allocations: 0 / 0.8407 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3131, allocations: 0.9574 MB / 0.8417 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3131, allocations: 0 / 0.8417 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.3134, allocations: 40.34 kB / 0.8417 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.3134, allocations: 8 kB / 0.8417 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.3134, allocations: 8 kB / 0.8417 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3134, allocations: 4 kB / 0.8417 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.3135, allocations: 7.938 kB / 0.8417 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.314, allocations: 437.4 kB / 0.8422 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3141, allocations: 112.9 kB / 0.8423 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3141, allocations: 4 kB / 0.8423 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3143, allocations: 15.98 kB / 0.8423 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3144, allocations: 15.92 kB / 0.8423 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3144, allocations: 8 kB / 0.8423 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001282/0.3145, allocations: 136.2 kB / 0.8424 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3146, allocations: 0 / 0.8424 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005465/0.3151, allocations: 72 kB / 0.8425 GB, free: 0.5859 MB / 0.6544 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 (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.0001932/0.3153, allocations: 107.2 kB / 0.8426 GB, free: 484 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.3158, allocations: 321.3 kB / 0.8429 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3158, allocations: 0 / 0.8429 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.316, allocations: 83.77 kB / 0.843 GB, free: 80 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.3165, allocations: 39.3 kB / 0.843 GB, free: 44 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/0.3173, allocations: 481.8 kB / 0.8435 GB, free: 15.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3177, allocations: 0.7517 MB / 0.8442 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.3179, allocations: 77.47 kB / 0.8443 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.318, allocations: 19.44 kB / 0.8443 GB, free: 14.63 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.318, allocations: 4 kB / 0.8443 GB, free: 14.62 MB / 0.67 GB Notification: Performance of Templates: time 0.00537/0.3234, allocations: 1.834 MB / 0.8461 GB, free: 12.84 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)