Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001142/0.001142, allocations: 97.58 kB / 16.4 MB, free: 5.977 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.001127/0.001127, allocations: 198.3 kB / 17.34 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7247/0.7247, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.88 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 76.17 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01234/0.1425, allocations: 10.89 MB / 0.6422 GB, free: 9.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1547, allocations: 8.799 MB / 0.6508 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1559, allocations: 55.62 kB / 0.6509 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.1601, allocations: 1.678 MB / 0.6525 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.1641, allocations: 1.537 MB / 0.654 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1657, allocations: 0.6653 MB / 0.6547 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00253/0.1682, allocations: 2.286 MB / 0.6569 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.1698, allocations: 1.38 MB / 0.6582 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.1711, allocations: 1.008 MB / 0.6592 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.1724, allocations: 1.012 MB / 0.6602 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.1726, allocations: 140 kB / 0.6603 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1739, allocations: 0.7994 MB / 0.6611 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.1743, allocations: 0.5686 MB / 0.6617 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.1751, allocations: 0.89 MB / 0.6625 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.1774, allocations: 2.57 MB / 0.6651 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1774, allocations: 4 kB / 0.6651 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1774, allocations: 0 / 0.6651 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.1774, allocations: 0 / 0.6651 GB, free: 2.512 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002985/0.1804, allocations: 2.01 MB / 0.667 GB, free: 456 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1805, allocations: 12.03 kB / 0.667 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.1807, allocations: 190.1 kB / 0.6672 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.1924, allocations: 2.05 MB / 0.6692 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.1946, allocations: 1.212 MB / 0.6704 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.1947, allocations: 86.69 kB / 0.6705 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.1949, allocations: 119.9 kB / 0.6706 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.2003, allocations: 2.485 MB / 0.673 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/0.2004, allocations: 15.78 kB / 0.673 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.2005, allocations: 55.98 kB / 0.6731 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003504/0.2009, allocations: 130.1 kB / 0.6732 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/0.2084, allocations: 2.537 MB / 0.6757 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.2216, allocations: 10.03 MB / 0.6855 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006563/0.2282, allocations: 1.952 MB / 0.6874 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/0.2311, allocations: 0.9698 MB / 0.6883 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.2311, allocations: 4.438 kB / 0.6883 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.2312, allocations: 43 kB / 0.6884 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.2312, allocations: 0 / 0.6884 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03218/0.2634, allocations: 8.726 MB / 0.6969 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2634, allocations: 67.94 kB / 0.697 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2649, allocations: 1.097 MB / 0.698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/0.265, allocations: 41.7 kB / 0.6981 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.2655, allocations: 0.7379 MB / 0.6988 GB, free: 14.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.2658, allocations: 279.9 kB / 0.6991 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.2662, allocations: 202.4 kB / 0.6993 GB, free: 14.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2663, allocations: 341.9 kB / 0.6996 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.2694, allocations: 1.071 MB / 0.7006 GB, free: 12.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003278/0.2727, allocations: 1.305 MB / 0.7019 GB, free: 11.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006377/0.2791, allocations: 2.378 MB / 0.7042 GB, free: 9.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.2791, allocations: 8 kB / 0.7042 GB, free: 9.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009216/0.2883, allocations: 3.277 MB / 0.7074 GB, free: 5.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.2884, allocations: 8 kB / 0.7074 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.2884, allocations: 8 kB / 0.7075 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/0.2912, allocations: 0.7988 MB / 0.7082 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.2932, allocations: 411.3 kB / 0.7086 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/0.3095, allocations: 15.92 MB / 0.7242 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.3119, allocations: 287.5 kB / 0.7245 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3121, allocations: 51.97 kB / 0.7245 GB, free: 3.141 MB / 0.5606 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000853/0.3129, allocations: 401.5 kB / 0.7249 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.3132, allocations: 146.2 kB / 0.725 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008916/0.3221, allocations: 3.206 MB / 0.7282 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3222, allocations: 8 kB / 0.7282 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3222, allocations: 8 kB / 0.7282 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3222, allocations: 7.984 kB / 0.7282 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.3338, allocations: 4.905 MB / 0.733 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3339, allocations: 4 kB / 0.733 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.3356, allocations: 355.4 kB / 0.7333 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.338, allocations: 0.6937 MB / 0.734 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-05/0.3381, allocations: 31.95 kB / 0.734 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.3532, allocations: 15.53 MB / 0.7492 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.3532, allocations: 7.969 kB / 0.7492 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008605/0.3618, allocations: 3.043 MB / 0.7522 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009393/0.3628, allocations: 383.2 kB / 0.7525 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.363, allocations: 12 kB / 0.7525 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.3649, allocations: 295.4 kB / 0.7528 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.3652, allocations: 84.48 kB / 0.7529 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.804e-05/0.3653, allocations: 35.97 kB / 0.7529 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001046/0.3664, allocations: 0.7405 MB / 0.7537 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.754e-06/0.3664, allocations: 0 / 0.7537 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001527/0.3679, allocations: 435.9 kB / 0.7541 GB, free: 3.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2913/0.6593, allocations: 3.611 MB / 0.7576 GB, free: 116 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009204/0.6685, allocations: 3.627 MB / 0.7611 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.6685, allocations: 1.531 kB / 0.7611 GB, free: 115.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/0.6738, allocations: 2.36 MB / 0.7634 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.6761, allocations: 0.5151 MB / 0.7639 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.7089, allocations: 15.82 MB / 0.7794 GB, free: 108.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.7097, allocations: 1.388 MB / 0.7808 GB, free: 107.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001313/0.711, allocations: 381.2 kB / 0.7811 GB, free: 107.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.7116, allocations: 0.5961 MB / 0.7817 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.543e-06/0.7116, allocations: 0 / 0.7817 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07327/0.7849, allocations: 42.35 MB / 0.8231 GB, free: 69.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.97, allocations: 3.469 kB / 0.8231 GB, free: 69.98 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)