Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0009265/0.0009265, 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.001006/0.001006, 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.764/1.764, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005669/0.000567, allocations: 15.5 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3407, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006636/0.3474, allocations: 5.223 MB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005872/0.3533, allocations: 2.996 MB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.3541, allocations: 23.81 kB / 0.7953 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.3546, allocations: 111.2 kB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.3558, allocations: 346.9 kB / 0.7957 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.357, allocations: 362.3 kB / 0.7961 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009609/0.3579, allocations: 0.6414 MB / 0.7967 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.3597, allocations: 0.9015 MB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.3604, allocations: 330.7 kB / 0.7979 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.361, allocations: 342.7 kB / 0.7982 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.3611, allocations: 28 kB / 0.7982 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000632/0.3617, allocations: 207.7 kB / 0.7984 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.362, allocations: 231.3 kB / 0.7987 GB, free: 108 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.3623, allocations: 161.4 kB / 0.7988 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.3633, allocations: 0.8455 MB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3633, allocations: 0 / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.826e-06/0.3633, allocations: 0 / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3634, allocations: 3.938 kB / 0.7996 GB, free: 15.09 MB / 0.6231 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.001762/0.3651, allocations: 0.8998 MB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.3652, allocations: 12.03 kB / 0.8005 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.3654, allocations: 118.5 kB / 0.8006 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.3667, allocations: 210.7 kB / 0.8008 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.3677, allocations: 0.5171 MB / 0.8013 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.3677, allocations: 45.25 kB / 0.8014 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3678, allocations: 59.98 kB / 0.8015 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3693, allocations: 1.022 MB / 0.8024 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.3693, allocations: 15.84 kB / 0.8025 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.3694, allocations: 28 kB / 0.8025 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-05/0.3695, allocations: 65.27 kB / 0.8026 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3705, allocations: 0.6879 MB / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.3761, allocations: 5.76 MB / 0.8088 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.3771, allocations: 0.6013 MB / 0.8094 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.3771, allocations: 4.688 kB / 0.8094 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3771, allocations: 42.56 kB / 0.8095 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.697e-06/0.3772, allocations: 0 / 0.8095 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004584/0.3817, allocations: 1.893 MB / 0.8113 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3818, allocations: 59.34 kB / 0.8114 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.3824, allocations: 450.8 kB / 0.8118 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.3824, allocations: 29.7 kB / 0.8118 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.3827, allocations: 395 kB / 0.8122 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3829, allocations: 149.9 kB / 0.8124 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.383, allocations: 8 kB / 0.8124 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3832, allocations: 366.8 kB / 0.8127 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3835, allocations: 229.2 kB / 0.8129 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005751/0.3841, allocations: 445 kB / 0.8134 GB, free: 116 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.3846, allocations: 299.8 kB / 0.8137 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3846, allocations: 4 kB / 0.8137 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00173/0.3863, allocations: 0.9718 MB / 0.8146 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3863, allocations: 11.94 kB / 0.8146 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.3864, allocations: 8 kB / 0.8146 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009162/0.3873, allocations: 271.9 kB / 0.8149 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.3877, allocations: 99.81 kB / 0.815 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/0.3946, allocations: 6.751 MB / 0.8216 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.3953, allocations: 31.97 kB / 0.8216 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.3953, allocations: 24 kB / 0.8216 GB, free: 7.082 MB / 0.6387 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004149/0.3957, allocations: 246.2 kB / 0.8219 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3959, allocations: 59.3 kB / 0.8219 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.3975, allocations: 0.826 MB / 0.8227 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3975, allocations: 4 kB / 0.8227 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3975, allocations: 8 kB / 0.8227 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3975, allocations: 3.984 kB / 0.8227 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.4004, allocations: 1.714 MB / 0.8244 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.4004, allocations: 4 kB / 0.8244 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.4007, allocations: 51.91 kB / 0.8245 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/0.4015, allocations: 251.6 kB / 0.8247 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.4015, allocations: 12 kB / 0.8247 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.4083, allocations: 6.448 MB / 0.831 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.4083, allocations: 7.969 kB / 0.831 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.4101, allocations: 0.9818 MB / 0.832 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.4105, allocations: 168.4 kB / 0.8321 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.4105, allocations: 8 kB / 0.8321 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.4108, allocations: 23.97 kB / 0.8322 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4109, allocations: 39.91 kB / 0.8322 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.411, allocations: 12.25 kB / 0.8322 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003609/0.4113, allocations: 306.9 kB / 0.8325 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4113, allocations: 3.938 kB / 0.8325 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009344/0.4123, allocations: 188 kB / 0.8327 GB, free: 10.95 MB / 0.6544 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/0.4144, allocations: 1.924 MB / 0.8346 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.4167, allocations: 1.141 MB / 0.8357 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.4167, allocations: 0 / 0.8357 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4179, allocations: 0.7997 MB / 0.8365 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.4189, allocations: 181 kB / 0.8366 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.4277, allocations: 8.397 MB / 0.8448 GB, free: 14.12 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007353/0.4285, allocations: 1 MB / 0.8458 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.429, allocations: 109.2 kB / 0.8459 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.4292, allocations: 223.4 kB / 0.8461 GB, free: 12.77 MB / 0.67 GB Notification: Performance of SimCode: time 1.503e-06/0.4293, allocations: 0 / 0.8461 GB, free: 12.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.4708, allocations: 13.88 MB / 0.8597 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.4711, allocations: 215.3 kB / 0.8599 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/2.943, allocations: 0 / 0.8599 GB, free: 14.89 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: