Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001014/0.001014, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009687/0.0009688, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.981/1.981, allocations: 292.6 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008464/0.0008466, allocations: 18.56 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2558, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005342/0.2612, allocations: 4.638 MB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004148/0.2654, allocations: 2.481 MB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.2659, allocations: 19.88 kB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.2663, allocations: 87.36 kB / 0.7943 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008849/0.2672, allocations: 327 kB / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.2681, allocations: 294.8 kB / 0.7949 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.2689, allocations: 0.5785 MB / 0.7954 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.2701, allocations: 0.7358 MB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004221/0.2706, allocations: 283 kB / 0.7964 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.271, allocations: 306.8 kB / 0.7967 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.2711, allocations: 24 kB / 0.7968 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.2715, allocations: 159.7 kB / 0.7969 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.2717, allocations: 199.4 kB / 0.7971 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2719, allocations: 141.4 kB / 0.7972 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.2726, allocations: 0.6976 MB / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2726, allocations: 0 / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2726, allocations: 0 / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2726, allocations: 0 / 0.7979 GB, free: 0.8789 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001537/0.2741, allocations: 0.853 MB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2742, allocations: 8.031 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.2743, allocations: 94.5 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.2755, allocations: 183 kB / 0.799 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.2763, allocations: 473.5 kB / 0.7995 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.2763, allocations: 36.98 kB / 0.7995 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.2765, allocations: 48 kB / 0.7995 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2776, allocations: 0.82 MB / 0.8003 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.2776, allocations: 7.781 kB / 0.8004 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.2777, allocations: 23.98 kB / 0.8004 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000191/0.2779, allocations: 72.94 kB / 0.8004 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/0.2787, allocations: 0.5657 MB / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.2832, allocations: 4.581 MB / 0.8055 GB, free: 8.598 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.2837, allocations: 299.2 kB / 0.8058 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2838, allocations: 4.281 kB / 0.8058 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.2838, allocations: 38.84 kB / 0.8058 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.514e-06/0.2838, allocations: 4 kB / 0.8058 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005452/0.2893, allocations: 2.624 MB / 0.8084 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2894, allocations: 55.41 kB / 0.8084 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005042/0.2899, allocations: 450 kB / 0.8088 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.2899, allocations: 29.7 kB / 0.8089 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.2902, allocations: 343.6 kB / 0.8092 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.2903, allocations: 142 kB / 0.8093 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.2903, allocations: 8 kB / 0.8093 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2904, allocations: 370.8 kB / 0.8097 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.2908, allocations: 237 kB / 0.8099 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.2912, allocations: 406.4 kB / 0.8103 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2916, allocations: 297.4 kB / 0.8106 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2916, allocations: 3.938 kB / 0.8106 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001556/0.2932, allocations: 0.9178 MB / 0.8115 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2932, allocations: 8 kB / 0.8115 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2932, allocations: 4 kB / 0.8115 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007537/0.294, allocations: 226.4 kB / 0.8117 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.2945, allocations: 115.8 kB / 0.8118 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00465/0.2992, allocations: 5.013 MB / 0.8167 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.2997, allocations: 31.97 kB / 0.8168 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.2998, allocations: 28.06 kB / 0.8168 GB, free: 12.32 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.3001, allocations: 221.6 kB / 0.817 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3002, allocations: 55.34 kB / 0.8171 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3017, allocations: 0.774 MB / 0.8178 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3017, allocations: 4 kB / 0.8178 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3017, allocations: 4.375 kB / 0.8178 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3017, allocations: 3.984 kB / 0.8178 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.3041, allocations: 1.502 MB / 0.8193 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3041, allocations: 0 / 0.8193 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.3045, allocations: 67.89 kB / 0.8194 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/0.3052, allocations: 210.8 kB / 0.8196 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.3052, allocations: 12 kB / 0.8196 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.3097, allocations: 4.943 MB / 0.8244 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3097, allocations: 8.094 kB / 0.8244 GB, free: 4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.3115, allocations: 1.209 MB / 0.8256 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.3118, allocations: 168.3 kB / 0.8257 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.3119, allocations: 12 kB / 0.8258 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.3122, allocations: 27.95 kB / 0.8258 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/0.3123, allocations: 39.92 kB / 0.8258 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.3124, allocations: 16 kB / 0.8258 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000328/0.3127, allocations: 310.9 kB / 0.8261 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.193e-06/0.3127, allocations: 0 / 0.8261 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006657/0.3134, allocations: 167.9 kB / 0.8263 GB, free: 1.957 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/0.3156, allocations: 2.24 MB / 0.8285 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.3172, allocations: 0.9965 MB / 0.8294 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.3172, allocations: 4.125 kB / 0.8295 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.3182, allocations: 0.6875 MB / 0.8301 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007989/0.319, allocations: 164.1 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.3256, allocations: 7.281 MB / 0.8374 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.3262, allocations: 0.9572 MB / 0.8383 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.3267, allocations: 113 kB / 0.8384 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3269, allocations: 207.4 kB / 0.8386 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.3269, allocations: 0 / 0.8386 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.355, allocations: 13.18 MB / 0.8515 GB, free: 8.047 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.3552, allocations: 214.5 kB / 0.8517 GB, free: 7.805 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.619, allocations: 4 kB / 0.8517 GB, free: 7.801 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: