Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",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.001036/0.001041, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009466/0.0009467, allocations: 177.3 kB / 15.94 MB, free: 228 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.842/1.842, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.816/1.816, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005819/0.000582, allocations: 14.44 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2776, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002613/0.2803, allocations: 1.925 MB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2815, allocations: 0.7728 MB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.2816, allocations: 0 / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2817, allocations: 19.91 kB / 0.7899 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2819, allocations: 47.8 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.282, allocations: 43.88 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.2822, allocations: 91.83 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2824, allocations: 181.8 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.2825, allocations: 55.77 kB / 0.7903 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2827, allocations: 59.75 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2827, allocations: 4 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.2828, allocations: 19.98 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2828, allocations: 31.86 kB / 0.7904 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.2829, allocations: 49.64 kB / 0.7904 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.283, allocations: 119.9 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2831, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2831, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2831, allocations: 0 / 0.7905 GB, free: 8.438 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006173/0.2837, allocations: 470.5 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2837, allocations: 12.03 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.2838, allocations: 50.53 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.284, allocations: 35.75 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2843, allocations: 206.8 kB / 0.7913 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.2843, allocations: 33.89 kB / 0.7913 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.2844, allocations: 12 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.2847, allocations: 149 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.2847, allocations: 3.953 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2847, allocations: 0 / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2847, allocations: 8.172 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2849, allocations: 88.45 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.2859, allocations: 0.6528 MB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.2861, allocations: 58.56 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.2861, allocations: 8 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.2863, allocations: 150.8 kB / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2864, allocations: 0 / 0.7924 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004275/0.2868, allocations: 248.3 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.2869, allocations: 140.5 kB / 0.7928 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2871, allocations: 178.8 kB / 0.7929 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2871, allocations: 25.7 kB / 0.793 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.2872, allocations: 135.8 kB / 0.7931 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2872, allocations: 27.64 kB / 0.7931 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.2872, allocations: 4 kB / 0.7931 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2873, allocations: 330.8 kB / 0.7934 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.2874, allocations: 35.97 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2876, allocations: 111.5 kB / 0.7936 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2877, allocations: 103.3 kB / 0.7937 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2877, allocations: 8 kB / 0.7937 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003419/0.2881, allocations: 240.7 kB / 0.7939 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.2882, allocations: 67.34 kB / 0.794 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2882, allocations: 0 / 0.794 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2882, allocations: 4.312 kB / 0.794 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2883, allocations: 31.98 kB / 0.794 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2883, allocations: 7.938 kB / 0.794 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2885, allocations: 35.73 kB / 0.7941 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2885, allocations: 4 kB / 0.7941 GB, free: 4.43 MB / 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: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001317/0.2886, allocations: 167.5 kB / 0.7942 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2887, allocations: 15.94 kB / 0.7942 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.2887, allocations: 21.36 kB / 0.7943 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2887, allocations: 3.938 kB / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2887, allocations: 0 / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2887, allocations: 0 / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.2889, allocations: 217.5 kB / 0.7945 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2889, allocations: 4 kB / 0.7945 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.278e-05/0.289, allocations: 15.92 kB / 0.7945 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.289, allocations: 0 / 0.7945 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2891, allocations: 0 / 0.7945 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2891, allocations: 7.953 kB / 0.7945 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2891, allocations: 4 kB / 0.7945 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.2895, allocations: 214.6 kB / 0.7947 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.2895, allocations: 89.05 kB / 0.7948 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.2896, allocations: 8 kB / 0.7948 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.2897, allocations: 16.05 kB / 0.7948 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.2897, allocations: 15.94 kB / 0.7948 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.2898, allocations: 4 kB / 0.7948 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001142/0.2899, allocations: 141 kB / 0.795 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2899, allocations: 0 / 0.795 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002449/0.2901, allocations: 27.91 kB / 0.795 GB, free: 3.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0006485/0.2908, allocations: 0.7508 MB / 0.7957 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.2911, allocations: 215.2 kB / 0.7959 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2911, allocations: 4.125 kB / 0.7959 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.2913, allocations: 111.4 kB / 0.796 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.2915, allocations: 19.94 kB / 0.7961 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.2934, allocations: 2.428 MB / 0.7984 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.2937, allocations: 0.731 MB / 0.7992 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.473e-05/0.2938, allocations: 24.62 kB / 0.7992 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.2938, allocations: 31.44 kB / 0.7992 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2938, allocations: 0 / 0.7992 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.3069, allocations: 2.706 MB / 0.8018 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.3071, allocations: 186.3 kB / 0.802 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.331, allocations: 4 kB / 0.802 GB, free: 12.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_8_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) Environment - environmentSimulation: