Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_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.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00193/0.001931, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 286.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9167/0.9167, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 95.36 kB / 0.5946 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 86.97 MB / 0.6795 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01095/0.1639, allocations: 10.86 MB / 0.6902 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.175, allocations: 8.793 MB / 0.6987 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.176, allocations: 47.69 kB / 0.6988 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.1795, allocations: 1.563 MB / 0.7003 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.1829, allocations: 1.397 MB / 0.7017 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1843, allocations: 0.6114 MB / 0.7023 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.1868, allocations: 2.898 MB / 0.7051 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.1884, allocations: 1.336 MB / 0.7064 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.1897, allocations: 0.8909 MB / 0.7073 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.1908, allocations: 1.023 MB / 0.7083 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.1909, allocations: 88 kB / 0.7084 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.1924, allocations: 0.9046 MB / 0.7092 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.1929, allocations: 0.5217 MB / 0.7098 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.1936, allocations: 0.8236 MB / 0.7106 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.1959, allocations: 2.554 MB / 0.7131 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1959, allocations: 0 / 0.7131 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1959, allocations: 0 / 0.7131 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.433e-05/0.196, allocations: 0 / 0.7131 GB, free: 14.63 MB / 0.5137 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.003044/0.199, allocations: 2.014 MB / 0.715 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1991, allocations: 12.03 kB / 0.715 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.1993, allocations: 190.1 kB / 0.7152 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.2094, allocations: 2.054 MB / 0.7172 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.2118, allocations: 1.13 MB / 0.7183 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2119, allocations: 86.69 kB / 0.7184 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.2122, allocations: 119.9 kB / 0.7185 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00516/0.2174, allocations: 2.479 MB / 0.7209 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.2174, allocations: 15.89 kB / 0.721 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.2176, allocations: 51.98 kB / 0.721 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/0.2179, allocations: 134.1 kB / 0.7211 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006532/0.2245, allocations: 2.533 MB / 0.7236 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.2376, allocations: 10.07 MB / 0.7334 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/0.2432, allocations: 1.948 MB / 0.7353 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002547/0.2458, allocations: 0.9699 MB / 0.7363 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.2458, allocations: 4.438 kB / 0.7363 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2459, allocations: 46.94 kB / 0.7363 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.2459, allocations: 0 / 0.7363 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.02932/0.2752, allocations: 8.71 MB / 0.7448 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2753, allocations: 64 kB / 0.7449 GB, free: 12.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.2768, allocations: 1.101 MB / 0.746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.2769, allocations: 45.7 kB / 0.746 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.2774, allocations: 0.7379 MB / 0.7467 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.2777, allocations: 279.9 kB / 0.747 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.2781, allocations: 202.4 kB / 0.7472 GB, free: 10.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2782, allocations: 345.9 kB / 0.7475 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.2808, allocations: 1.071 MB / 0.7486 GB, free: 9.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002758/0.2836, allocations: 1.301 MB / 0.7498 GB, free: 7.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005344/0.289, allocations: 2.382 MB / 0.7522 GB, free: 5.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.289, allocations: 4 kB / 0.7522 GB, free: 5.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008056/0.297, allocations: 3.276 MB / 0.7554 GB, free: 1.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2971, allocations: 8 kB / 0.7554 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.2971, allocations: 8 kB / 0.7554 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.2999, allocations: 0.7874 MB / 0.7562 GB, free: 1.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.3015, allocations: 423.2 kB / 0.7566 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/0.3158, allocations: 14.69 MB / 0.7709 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/0.3182, allocations: 291.5 kB / 0.7712 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.3184, allocations: 47.97 kB / 0.7712 GB, free: 0.6133 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.0008834/0.3193, allocations: 403.5 kB / 0.7716 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.3195, allocations: 146.2 kB / 0.7718 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2868/0.6064, allocations: 3.207 MB / 0.7749 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6064, allocations: 7.656 kB / 0.7749 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.6064, allocations: 9.094 kB / 0.7749 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.6064, allocations: 6.703 kB / 0.7749 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.6166, allocations: 4.901 MB / 0.7797 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6166, allocations: 3.219 kB / 0.7797 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.6181, allocations: 354.4 kB / 0.78 GB, free: 88.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.6204, allocations: 0.6972 MB / 0.7807 GB, free: 88.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.6205, allocations: 34.72 kB / 0.7808 GB, free: 88.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.6315, allocations: 14.32 MB / 0.7947 GB, free: 76.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6315, allocations: 7.797 kB / 0.7947 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006655/0.6382, allocations: 3.037 MB / 0.7977 GB, free: 75.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/0.6387, allocations: 389.6 kB / 0.7981 GB, free: 74.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.6389, allocations: 19.59 kB / 0.7981 GB, free: 74.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.6405, allocations: 289.2 kB / 0.7984 GB, free: 74.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.6407, allocations: 84.48 kB / 0.7985 GB, free: 74.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.6408, allocations: 39.83 kB / 0.7985 GB, free: 74.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000827/0.6417, allocations: 0.7427 MB / 0.7992 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6417, allocations: 0 / 0.7992 GB, free: 74.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001233/0.6429, allocations: 433.8 kB / 0.7996 GB, free: 74.53 MB / 0.5606 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.00735/0.6503, allocations: 3.613 MB / 0.8032 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006978/0.6573, allocations: 3.617 MB / 0.8067 GB, free: 70.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6573, allocations: 1.25 kB / 0.8067 GB, free: 70.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.6613, allocations: 2.371 MB / 0.809 GB, free: 69.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.6633, allocations: 490 kB / 0.8095 GB, free: 68.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.6918, allocations: 17.13 MB / 0.8262 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.6925, allocations: 1.384 MB / 0.8276 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001475/0.694, allocations: 380.6 kB / 0.8279 GB, free: 55.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.6947, allocations: 0.593 MB / 0.8285 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.6947, allocations: 0 / 0.8285 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04623/0.7409, allocations: 40.16 MB / 0.8677 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.7411, allocations: 234.7 kB / 0.8679 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/3.081, allocations: 0 / 0.8679 GB, free: 15.57 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)