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.00086/0.0008601, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 179.3 kB / 16.92 MB, free: 6.684 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.237/1.237, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6243/0.6243, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002611, allocations: 8 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 77.53 MB / 0.5601 GB, free: 8.945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009341/0.1212, allocations: 10.34 MB / 0.5702 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009646/0.1309, allocations: 8.692 MB / 0.5786 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.1315, allocations: 47.69 kB / 0.5787 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.1321, allocations: 281.8 kB / 0.579 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.1348, allocations: 1.395 MB / 0.5803 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1361, allocations: 0.6075 MB / 0.5809 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.1382, allocations: 2.898 MB / 0.5837 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2092/0.3474, allocations: 1.949 MB / 0.5856 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.3488, allocations: 0.8176 MB / 0.5864 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.3499, allocations: 0.9423 MB / 0.5874 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.35, allocations: 62.88 kB / 0.5874 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.3514, allocations: 0.8836 MB / 0.5883 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.3518, allocations: 486.4 kB / 0.5887 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.3526, allocations: 0.7999 MB / 0.5895 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.3549, allocations: 2.498 MB / 0.592 GB, free: 9.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3549, allocations: 0 / 0.592 GB, free: 9.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3549, allocations: 1.75 kB / 0.592 GB, free: 9.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.3549, allocations: 0 / 0.592 GB, free: 9.867 MB / 446.1 MB 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.002403/0.3573, allocations: 1.711 MB / 0.5936 GB, free: 8.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3574, allocations: 9.5 kB / 0.5937 GB, free: 8.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.3576, allocations: 185.5 kB / 0.5938 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.3687, allocations: 2.111 MB / 0.5959 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3703, allocations: 1.122 MB / 0.597 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.3704, allocations: 88.84 kB / 0.5971 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.3706, allocations: 123.8 kB / 0.5972 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/0.3758, allocations: 2.501 MB / 0.5996 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.3758, allocations: 10.19 kB / 0.5996 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.376, allocations: 60.02 kB / 0.5997 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.3763, allocations: 127.2 kB / 0.5998 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006638/0.383, allocations: 2.591 MB / 0.6023 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.3931, allocations: 10.11 MB / 0.6122 GB, free: 17.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.3988, allocations: 2.002 MB / 0.6142 GB, free: 16.45 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.4013, allocations: 0.9937 MB / 0.6151 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.4014, allocations: 7.453 kB / 0.6152 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.4014, allocations: 41.75 kB / 0.6152 GB, free: 15.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.4014, allocations: 0 / 0.6152 GB, free: 15.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02824/0.4297, allocations: 8.79 MB / 0.6238 GB, free: 11.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4297, allocations: 58.31 kB / 0.6238 GB, free: 11.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.4309, allocations: 1.101 MB / 0.6249 GB, free: 11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.431, allocations: 36.83 kB / 0.6249 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.4314, allocations: 0.736 MB / 0.6257 GB, free: 10.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.4316, allocations: 285.4 kB / 0.6259 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4318, allocations: 81.88 kB / 0.626 GB, free: 10.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.4319, allocations: 342.6 kB / 0.6263 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/0.4347, allocations: 1.094 MB / 0.6274 GB, free: 9.133 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.4376, allocations: 1.328 MB / 0.6287 GB, free: 8.297 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005742/0.4433, allocations: 2.424 MB / 0.6311 GB, free: 5.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4433, allocations: 4 kB / 0.6311 GB, free: 5.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008105/0.4514, allocations: 3.313 MB / 0.6343 GB, free: 2.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4515, allocations: 8 kB / 0.6343 GB, free: 2.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4515, allocations: 8 kB / 0.6343 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.4539, allocations: 0.7892 MB / 0.6351 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.4557, allocations: 431.3 kB / 0.6355 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.4684, allocations: 14.71 MB / 0.6499 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4705, allocations: 299.6 kB / 0.6502 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.4706, allocations: 55.95 kB / 0.6502 GB, free: 1.266 MB / 478.1 MB 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.0006269/0.4712, allocations: 396.2 kB / 0.6506 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.4714, allocations: 148.8 kB / 0.6507 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008442/0.4799, allocations: 3.244 MB / 0.6539 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4799, allocations: 8 kB / 0.6539 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4799, allocations: 11.98 kB / 0.6539 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4799, allocations: 7.922 kB / 0.6539 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4904, allocations: 4.947 MB / 0.6588 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4904, allocations: 0 / 0.6588 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.492, allocations: 363.5 kB / 0.6591 GB, free: 8.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.4942, allocations: 0.7001 MB / 0.6598 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/0.4943, allocations: 31.97 kB / 0.6598 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.5065, allocations: 14.33 MB / 0.6738 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5065, allocations: 4 kB / 0.6738 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/0.5141, allocations: 3.084 MB / 0.6768 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.5147, allocations: 391 kB / 0.6772 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.5149, allocations: 15.94 kB / 0.6772 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/0.5167, allocations: 307.5 kB / 0.6775 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.5169, allocations: 77.05 kB / 0.6776 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.287e-05/0.517, allocations: 35.97 kB / 0.6776 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008545/0.5178, allocations: 0.7405 MB / 0.6783 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5178, allocations: 0 / 0.6783 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001256/0.5191, allocations: 436 kB / 0.6788 GB, free: 2.887 MB / 0.4981 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.007784/0.5269, allocations: 3.663 MB / 0.6823 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008027/0.5349, allocations: 3.654 MB / 0.6859 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.535, allocations: 4 kB / 0.6859 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00468/0.5397, allocations: 2.387 MB / 0.6882 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.5422, allocations: 496.6 kB / 0.6887 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03268/0.5749, allocations: 17.28 MB / 0.7056 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/0.5758, allocations: 1.388 MB / 0.7069 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001485/0.5773, allocations: 375.9 kB / 0.7073 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007339/0.5781, allocations: 0.5969 MB / 0.7079 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.5781, allocations: 0 / 0.7079 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.297/0.8751, allocations: 39.53 MB / 0.7465 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.8754, allocations: 221.7 kB / 0.7467 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.383, allocations: 0 / 0.7467 GB, free: 13.21 MB / 0.5762 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)