Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001524/0.001524, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.677/2.677, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.2 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007087/0.2931, allocations: 6.1 MB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.2977, allocations: 3.122 MB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.2983, allocations: 31.75 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.3006, allocations: 0.8832 MB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.3017, allocations: 434 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3028, allocations: 431.2 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3041, allocations: 1.088 MB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.3051, allocations: 0.7249 MB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006841/0.3058, allocations: 446.3 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006869/0.3065, allocations: 490.2 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3067, allocations: 59.94 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008326/0.3075, allocations: 487 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.3078, allocations: 291.2 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.3083, allocations: 397.9 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.3097, allocations: 1.191 MB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3097, allocations: 0 / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3098, allocations: 4 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.618e-05/0.3098, allocations: 0 / 1.083 GB, free: 10.61 MB / 0.8419 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.001849/0.3117, allocations: 1.06 MB / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3117, allocations: 12.02 kB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.3132, allocations: 215.7 kB / 1.085 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.314, allocations: 0.5375 MB / 1.085 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.3141, allocations: 45.67 kB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3142, allocations: 64.36 kB / 1.085 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3156, allocations: 1.026 MB / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.3157, allocations: 11.92 kB / 1.086 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-05/0.3157, allocations: 31.98 kB / 1.086 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-05/0.3158, allocations: 69.28 kB / 1.086 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3169, allocations: 0.6918 MB / 1.087 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005036/0.322, allocations: 5.752 MB / 1.093 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.3228, allocations: 0.5986 MB / 1.093 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.3236, allocations: 416.6 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.3237, allocations: 7.938 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3237, allocations: 38.56 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.3237, allocations: 0 / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004307/0.328, allocations: 2.049 MB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3281, allocations: 59.41 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.3286, allocations: 458.7 kB / 1.096 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.3286, allocations: 29.7 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.3289, allocations: 391 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.329, allocations: 149.8 kB / 1.097 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.3292, allocations: 110.2 kB / 1.097 GB, free: 12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3294, allocations: 358.8 kB / 1.097 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.3298, allocations: 245.2 kB / 1.097 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.3304, allocations: 469 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.3313, allocations: 0.7519 MB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3313, allocations: 4 kB / 1.099 GB, free: 10 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001798/0.3331, allocations: 1.066 MB / 1.1 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3331, allocations: 8 kB / 1.1 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3331, allocations: 11.98 kB / 1.1 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.3342, allocations: 331 kB / 1.1 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3345, allocations: 103.8 kB / 1.1 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.3414, allocations: 7.524 MB / 1.107 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.3418, allocations: 24.03 kB / 1.107 GB, free: 356 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.3419, allocations: 35.97 kB / 1.108 GB, free: 320 kB / 0.8575 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003323/0.3422, allocations: 241.6 kB / 1.108 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3424, allocations: 63.28 kB / 1.108 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.3441, allocations: 0.9158 MB / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.3441, allocations: 4.141 kB / 1.109 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3441, allocations: 4 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3441, allocations: 4.266 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.3469, allocations: 1.71 MB / 1.11 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.347, allocations: 0 / 1.11 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3471, allocations: 52.03 kB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.3482, allocations: 323.1 kB / 1.111 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.3482, allocations: 8 kB / 1.111 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007233/0.3555, allocations: 7.509 MB / 1.118 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3555, allocations: 0 / 1.118 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.3572, allocations: 1.004 MB / 1.119 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.3574, allocations: 180.6 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.3575, allocations: 8 kB / 1.119 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.3579, allocations: 23.97 kB / 1.119 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.358, allocations: 47.88 kB / 1.119 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.358, allocations: 12 kB / 1.119 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003542/0.3584, allocations: 306.9 kB / 1.12 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3584, allocations: 288 / 1.12 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007646/0.3592, allocations: 203.9 kB / 1.12 GB, free: 2.969 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001551/0.3593, allocations: 111.1 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.3612, allocations: 1.253 MB / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3612, allocations: 0 / 1.121 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.3624, allocations: 0.8582 MB / 1.122 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009702/0.3634, allocations: 199.3 kB / 1.122 GB, free: 460 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.3656, allocations: 1.526 MB / 1.124 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.3663, allocations: 0.9882 MB / 1.125 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003109/0.3666, allocations: 101.2 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.3667, allocations: 35.44 kB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.3667, allocations: 0 / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of Templates: time 0.01747/0.3842, allocations: 10.02 MB / 1.135 GB, free: 3.805 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)