Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009435/0.0009435, allocations: 84.38 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.001188/0.001188, 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.673/1.673, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.739/1.739, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005645/0.0005646, allocations: 16.77 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2515, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006256/0.2578, allocations: 5.37 MB / 0.7927 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004947/0.2628, allocations: 3.015 MB / 0.7956 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.2633, allocations: 27.75 kB / 0.7956 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.2636, allocations: 119 kB / 0.7957 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.2644, allocations: 374 kB / 0.7961 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009811/0.2654, allocations: 374.4 kB / 0.7965 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.2668, allocations: 1.201 MB / 0.7976 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.2684, allocations: 0.9015 MB / 0.7985 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.2689, allocations: 350.5 kB / 0.7988 GB, free: 80 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.2694, allocations: 442.5 kB / 0.7993 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.2695, allocations: 28 kB / 0.7993 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.2701, allocations: 259.6 kB / 0.7995 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.2704, allocations: 255.3 kB / 0.7998 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.2705, allocations: 161.3 kB / 0.7999 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008459/0.2714, allocations: 0.8728 MB / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2714, allocations: 0 / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.829e-06/0.2714, allocations: 4 kB / 0.8008 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.2714, allocations: 0 / 0.8008 GB, free: 14.07 MB / 0.6231 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.001323/0.2728, allocations: 0.9192 MB / 0.8017 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2728, allocations: 8.031 kB / 0.8017 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.273, allocations: 118.5 kB / 0.8018 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.2744, allocations: 222.7 kB / 0.802 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007416/0.2751, allocations: 0.5249 MB / 0.8025 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.2752, allocations: 41.31 kB / 0.8026 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.2753, allocations: 63.98 kB / 0.8026 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.2767, allocations: 1.026 MB / 0.8036 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.2767, allocations: 15.83 kB / 0.8037 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.2768, allocations: 24 kB / 0.8037 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.112e-05/0.2769, allocations: 65.28 kB / 0.8037 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009756/0.2778, allocations: 0.6879 MB / 0.8044 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005002/0.2828, allocations: 5.76 MB / 0.81 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.2838, allocations: 0.5942 MB / 0.8106 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/0.2845, allocations: 429.2 kB / 0.811 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.2845, allocations: 7.781 kB / 0.811 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2846, allocations: 38.56 kB / 0.8111 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 4.078e-06/0.2846, allocations: 0 / 0.8111 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004586/0.2892, allocations: 2.057 MB / 0.8131 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2892, allocations: 59.41 kB / 0.8131 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.2899, allocations: 454.7 kB / 0.8136 GB, free: 180 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.29, allocations: 29.7 kB / 0.8136 GB, free: 144 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.2903, allocations: 391 kB / 0.814 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.2905, allocations: 146 kB / 0.8141 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.2906, allocations: 8 kB / 0.8141 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2908, allocations: 362.8 kB / 0.8145 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.2913, allocations: 249.2 kB / 0.8147 GB, free: 15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.292, allocations: 461 kB / 0.8151 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.2926, allocations: 311.7 kB / 0.8154 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.2927, allocations: 4 kB / 0.8154 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002575/0.2952, allocations: 1.05 MB / 0.8165 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2953, allocations: 8 kB / 0.8165 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.2953, allocations: 8 kB / 0.8165 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.2966, allocations: 331.4 kB / 0.8168 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.2971, allocations: 99.83 kB / 0.8169 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008862/0.306, allocations: 6.951 MB / 0.8237 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007276/0.3067, allocations: 27.98 kB / 0.8237 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.3068, allocations: 28.19 kB / 0.8237 GB, free: 5.074 MB / 0.6387 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005537/0.3074, allocations: 245.5 kB / 0.824 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3075, allocations: 59.34 kB / 0.824 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3094, allocations: 0.9077 MB / 0.8249 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3095, allocations: 8 kB / 0.8249 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3095, allocations: 4 kB / 0.8249 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.3095, allocations: 7.984 kB / 0.8249 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00316/0.3127, allocations: 1.704 MB / 0.8266 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3127, allocations: 0 / 0.8266 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3129, allocations: 43.95 kB / 0.8266 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.3143, allocations: 319.1 kB / 0.8269 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3144, allocations: 12 kB / 0.827 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009101/0.3235, allocations: 6.936 MB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.3235, allocations: 4 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.326, allocations: 1.007 MB / 0.8347 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.3264, allocations: 172.4 kB / 0.8349 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.3265, allocations: 15.95 kB / 0.8349 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.3269, allocations: 19.97 kB / 0.8349 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3271, allocations: 47.89 kB / 0.835 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.3271, allocations: 8 kB / 0.835 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004961/0.3276, allocations: 306.9 kB / 0.8353 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3276, allocations: 0 / 0.8353 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00121/0.3288, allocations: 192 kB / 0.8354 GB, free: 8.355 MB / 0.6544 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00283/0.3317, allocations: 1.554 MB / 0.837 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.3343, allocations: 1.203 MB / 0.8381 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3344, allocations: 3.938 kB / 0.8381 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.3359, allocations: 0.8584 MB / 0.839 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.3374, allocations: 180.7 kB / 0.8391 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008171/0.3456, allocations: 3.992 MB / 0.843 GB, free: 252 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008783/0.3465, allocations: 0.9959 MB / 0.844 GB, free: 15.22 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.3468, allocations: 97.17 kB / 0.8441 GB, free: 15.13 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3471, allocations: 223.4 kB / 0.8443 GB, free: 14.91 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.3471, allocations: 4 kB / 0.8443 GB, free: 14.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3781, allocations: 14.47 MB / 0.8585 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.3783, allocations: 208.8 kB / 0.8587 GB, free: 484 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.413, allocations: 4 kB / 0.8587 GB, free: 480 kB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: