Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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 2.555/2.555, allocations: 287.3 MB / 302.3 MB, free: 8.145 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.001733/0.001732, allocations: 192.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00114/0.00114, allocations: 99.91 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005177, allocations: 11.75 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2446, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0073/0.2519, allocations: 5.211 MB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005621/0.2576, allocations: 2.992 MB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.258, allocations: 23.81 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.2584, allocations: 115.2 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.2595, allocations: 346.9 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2607, allocations: 361.8 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009093/0.2616, allocations: 0.6415 MB / 0.9877 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.2635, allocations: 0.9097 MB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.264, allocations: 322.8 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.2646, allocations: 346.7 kB / 0.9893 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.2647, allocations: 28 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005741/0.2653, allocations: 211.6 kB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.2655, allocations: 231.3 kB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.2657, allocations: 161.3 kB / 0.9899 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009599/0.2667, allocations: 0.8417 MB / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2667, allocations: 0 / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2667, allocations: 0 / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2667, allocations: 0 / 0.9907 GB, free: 15.51 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001693/0.2684, allocations: 0.8998 MB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2685, allocations: 19.95 kB / 0.9916 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.2686, allocations: 118.5 kB / 0.9917 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.2705, allocations: 202.8 kB / 0.9919 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2717, allocations: 0.5249 MB / 0.9924 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.2717, allocations: 41.31 kB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.2719, allocations: 63.98 kB / 0.9925 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.2737, allocations: 1.026 MB / 0.9935 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.2738, allocations: 11.84 kB / 0.9935 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.2739, allocations: 24 kB / 0.9935 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/0.274, allocations: 69.23 kB / 0.9936 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.2756, allocations: 0.6957 MB / 0.9943 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005797/0.2814, allocations: 5.749 MB / 0.9999 GB, free: 5.445 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2826, allocations: 0.6023 MB / 1 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.2826, allocations: 7.984 kB / 1 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2827, allocations: 38.56 kB / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.645e-06/0.2827, allocations: 0 / 1.001 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.005837/0.2885, allocations: 1.893 MB / 1.002 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2886, allocations: 59.41 kB / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2891, allocations: 450.8 kB / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.2892, allocations: 29.7 kB / 1.003 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.2894, allocations: 391 kB / 1.003 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2895, allocations: 157.8 kB / 1.003 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.2896, allocations: 12 kB / 1.003 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.2897, allocations: 362.8 kB / 1.004 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.2902, allocations: 229.2 kB / 1.004 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.2908, allocations: 445 kB / 1.004 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.2914, allocations: 295.8 kB / 1.005 GB, free: 244 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2915, allocations: 7.953 kB / 1.005 GB, free: 236 kB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002802/0.2943, allocations: 0.9803 MB / 1.006 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.2943, allocations: 8 kB / 1.006 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2943, allocations: 8.094 kB / 1.006 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.2959, allocations: 267.2 kB / 1.006 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.2966, allocations: 107.8 kB / 1.006 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.3072, allocations: 6.735 MB / 1.013 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/0.3079, allocations: 31.98 kB / 1.013 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.308, allocations: 24 kB / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004981/0.3085, allocations: 256.9 kB / 1.013 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3087, allocations: 55.53 kB / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.3113, allocations: 0.8262 MB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3114, allocations: 7.984 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3114, allocations: 4 kB / 1.014 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3114, allocations: 7.938 kB / 1.014 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/0.3158, allocations: 1.715 MB / 1.015 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3158, allocations: 8.312 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.3163, allocations: 47.95 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3177, allocations: 251.3 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.3178, allocations: 8 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/0.3268, allocations: 6.448 MB / 1.022 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.3268, allocations: 7.969 kB / 1.022 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.3294, allocations: 0.9743 MB / 1.023 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.3298, allocations: 172.4 kB / 1.023 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.3299, allocations: 15.98 kB / 1.023 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/0.3304, allocations: 16.23 kB / 1.023 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.3306, allocations: 43.84 kB / 1.023 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.3306, allocations: 19.98 kB / 1.023 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004879/0.3311, allocations: 298.9 kB / 1.024 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3311, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001122/0.3323, allocations: 188 kB / 1.024 GB, free: 11.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003005/0.3353, allocations: 1.932 MB / 1.026 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.338, allocations: 1.145 MB / 1.027 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3381, allocations: 0 / 1.027 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.3399, allocations: 0.7919 MB / 1.028 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.3413, allocations: 177.3 kB / 1.028 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.3522, allocations: 8.386 MB / 1.036 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.3531, allocations: 1.004 MB / 1.037 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005834/0.3537, allocations: 109.2 kB / 1.037 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.3542, allocations: 223.4 kB / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/0.3542, allocations: 0 / 1.037 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/0.409, allocations: 13.88 MB / 1.051 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/0.4094, allocations: 217.3 kB / 1.051 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.35, allocations: 0 / 1.051 GB, free: 15.33 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)