Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001253/0.001253, allocations: 191.3 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 0.6366 GB, free: 8.594 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0009, allocations: 90.19 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003361, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.218, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.606/0.8241, allocations: 180.9 MB / 1.165 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.8244, allocations: 103.9 kB / 1.165 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1895/1.014, allocations: 78.01 MB / 1.241 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.174e-06/1.014, allocations: 0 / 1.241 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001108/1.014, allocations: 47.92 kB / 1.241 GB, free: 2.699 MB / 0.8073 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.003422/1.017, allocations: 1.772 MB / 1.243 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.018, allocations: 16.02 kB / 1.243 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/1.018, allocations: 185.9 kB / 1.243 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/1.028, allocations: 1.808 MB / 1.245 GB, free: 14.85 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/1.03, allocations: 1.149 MB / 1.246 GB, free: 13.65 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/1.03, allocations: 86.31 kB / 1.246 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/1.031, allocations: 119.9 kB / 1.246 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/1.036, allocations: 2.54 MB / 1.249 GB, free: 10.71 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/1.036, allocations: 15.92 kB / 1.249 GB, free: 10.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/1.037, allocations: 55.98 kB / 1.249 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.037, allocations: 74.2 kB / 1.249 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006995/1.044, allocations: 2.584 MB / 1.252 GB, free: 7.977 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/1.059, allocations: 10.21 MB / 1.262 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/1.064, allocations: 2.012 MB / 1.263 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/1.064, allocations: 12.42 kB / 1.264 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/1.065, allocations: 43 kB / 1.264 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 5.651e-06/1.065, allocations: 3.984 kB / 1.264 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.03087/1.095, allocations: 9.229 MB / 1.273 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.096, allocations: 218.3 kB / 1.273 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/1.097, allocations: 0.9495 MB / 1.274 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/1.098, allocations: 41.7 kB / 1.274 GB, free: 480 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006271/1.098, allocations: 0.7305 MB / 1.274 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/1.099, allocations: 279.9 kB / 1.275 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/1.099, allocations: 20 kB / 1.275 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.099, allocations: 345.9 kB / 1.275 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/1.102, allocations: 1.095 MB / 1.276 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/1.105, allocations: 1.344 MB / 1.277 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.108, allocations: 1.154 MB / 1.279 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.108, allocations: 0 / 1.279 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008851/1.117, allocations: 3.316 MB / 1.282 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.117, allocations: 11.98 kB / 1.282 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.117, allocations: 15.98 kB / 1.282 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00332/1.12, allocations: 0.8574 MB / 1.283 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.122, allocations: 423.3 kB / 1.283 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/1.139, allocations: 15.19 MB / 1.298 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.141, allocations: 307.5 kB / 1.298 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.142, allocations: 55.89 kB / 1.298 GB, free: 6.102 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009345/1.143, allocations: 399 kB / 1.299 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/1.143, allocations: 150.2 kB / 1.299 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008934/1.152, allocations: 3.265 MB / 1.302 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.152, allocations: 8 kB / 1.302 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/1.152, allocations: 8 kB / 1.302 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/1.152, allocations: 3.984 kB / 1.302 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.163, allocations: 5.053 MB / 1.307 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.164, allocations: 0 / 1.307 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/1.165, allocations: 363.3 kB / 1.307 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/1.168, allocations: 0.7796 MB / 1.308 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.168, allocations: 27.97 kB / 1.308 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.184, allocations: 14.83 MB / 1.323 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.184, allocations: 4 kB / 1.323 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/1.192, allocations: 3.268 MB / 1.326 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.193, allocations: 399.1 kB / 1.326 GB, free: 8.117 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.194, allocations: 20 kB / 1.326 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.196, allocations: 303.5 kB / 1.326 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/1.196, allocations: 92.5 kB / 1.327 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/1.196, allocations: 31.97 kB / 1.327 GB, free: 7.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001069/1.197, allocations: 0.7405 MB / 1.327 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.01e-07/1.197, allocations: 0 / 1.327 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001953/1.199, allocations: 464 kB / 1.328 GB, free: 6.484 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008322/1.207, allocations: 4.594 MB / 1.332 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008012/1.215, allocations: 3.68 MB / 1.336 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.215, allocations: 0 / 1.336 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004729/1.22, allocations: 2.407 MB / 1.338 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.223, allocations: 481.8 kB / 1.339 GB, free: 11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/1.251, allocations: 16.28 MB / 1.354 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.252, allocations: 1.415 MB / 1.356 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001897/1.254, allocations: 375.9 kB / 1.356 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009292/1.255, allocations: 0.6007 MB / 1.357 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of SimCode: time 6.82e-07/1.255, allocations: 0 / 1.357 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5334/1.788, allocations: 41.47 MB / 1.397 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.789, allocations: 201.7 kB / 1.398 GB, free: 219.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/5.046, allocations: 0 / 1.398 GB, free: 219.7 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)