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.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.00154/0.001541, allocations: 174.6 kB / 371 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.27/2.27, allocations: 205.4 MB / 0.6297 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.000895/0.0008946, allocations: 92.95 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004763, allocations: 11 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007642/0.2141, allocations: 5.37 MB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005968/0.2202, allocations: 3.003 MB / 0.9866 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.2208, allocations: 23.81 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.2213, allocations: 123 kB / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.2226, allocations: 382 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.224, allocations: 357.6 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2257, allocations: 1.205 MB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.2279, allocations: 0.9093 MB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.2287, allocations: 362.5 kB / 0.9899 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.2294, allocations: 438.4 kB / 0.9903 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.2295, allocations: 32 kB / 0.9903 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.2303, allocations: 243.7 kB / 0.9906 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.2306, allocations: 255.2 kB / 0.9908 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.2309, allocations: 161.3 kB / 0.991 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.232, allocations: 0.8768 MB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.232, allocations: 4 kB / 0.9918 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.232, allocations: 0 / 0.9918 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.232, allocations: 0 / 0.9918 GB, free: 14.47 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.001773/0.2338, allocations: 0.9192 MB / 0.9927 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2339, allocations: 16.02 kB / 0.9928 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.234, allocations: 118.5 kB / 0.9929 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.2361, allocations: 218.7 kB / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.2372, allocations: 0.521 MB / 0.9936 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.2373, allocations: 45.3 kB / 0.9936 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.2374, allocations: 59.98 kB / 0.9937 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.2392, allocations: 1.03 MB / 0.9947 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.2393, allocations: 11.84 kB / 0.9947 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.2394, allocations: 31.98 kB / 0.9947 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.2395, allocations: 69.22 kB / 0.9948 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.241, allocations: 0.6879 MB / 0.9955 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005959/0.247, allocations: 5.756 MB / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2482, allocations: 0.5916 MB / 1.002 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.2493, allocations: 418.4 kB / 1.002 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.2494, allocations: 4 kB / 1.002 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2494, allocations: 38.56 kB / 1.002 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 3.476e-06/0.2494, allocations: 0 / 1.002 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.007068/0.2565, allocations: 2.057 MB / 1.004 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2566, allocations: 59.36 kB / 1.004 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007373/0.2574, allocations: 454.8 kB / 1.005 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.2575, allocations: 29.7 kB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.2577, allocations: 391 kB / 1.005 GB, free: 172 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.2579, allocations: 145.9 kB / 1.005 GB, free: 24 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.258, allocations: 12 kB / 1.005 GB, free: 12 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.2582, allocations: 370.7 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.259, allocations: 241.2 kB / 1.006 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/0.26, allocations: 457 kB / 1.006 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.2609, allocations: 303.8 kB / 1.006 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.261, allocations: 4 kB / 1.006 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003336/0.2643, allocations: 1.062 MB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.2644, allocations: 8 kB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.2644, allocations: 8 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.2662, allocations: 335.4 kB / 1.008 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.2669, allocations: 95.83 kB / 1.008 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2777, allocations: 6.947 MB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.2784, allocations: 24.03 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.521e-05/0.2785, allocations: 31.98 kB / 1.015 GB, free: 5.492 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 (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.0004945/0.279, allocations: 245.5 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.2792, allocations: 59.62 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.2833, allocations: 0.9081 MB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.2834, allocations: 7.984 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/0.2834, allocations: 11.89 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.2835, allocations: 4 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/0.2912, allocations: 1.704 MB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.2913, allocations: 8.188 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.2918, allocations: 39.91 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.2942, allocations: 323 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.2943, allocations: 8 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.3049, allocations: 6.927 MB / 1.025 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.305, allocations: 4 kB / 1.025 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.3078, allocations: 1.007 MB / 1.026 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.3082, allocations: 172.4 kB / 1.026 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3084, allocations: 8 kB / 1.026 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.3088, allocations: 27.97 kB / 1.026 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.309, allocations: 39.89 kB / 1.026 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.3091, allocations: 12.28 kB / 1.026 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005473/0.3096, allocations: 306.9 kB / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3096, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001047/0.3107, allocations: 195.9 kB / 1.026 GB, free: 8.773 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 (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.003188/0.3139, allocations: 1.559 MB / 1.028 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002996/0.3169, allocations: 1.203 MB / 1.029 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.317, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.3191, allocations: 0.8583 MB / 1.03 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.3208, allocations: 185.1 kB / 1.03 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009459/0.3303, allocations: 3.992 MB / 1.034 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008236/0.3312, allocations: 0.9881 MB / 1.035 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005417/0.3317, allocations: 105.2 kB / 1.035 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.3321, allocations: 219.4 kB / 1.035 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.172e-06/0.3321, allocations: 4 kB / 1.035 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05748/0.3896, allocations: 14.46 MB / 1.049 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004106/0.3901, allocations: 212.7 kB / 1.05 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/3.417, allocations: 4 kB / 1.05 GB, free: 0.875 MB / 0.6667 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)