Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.0009296/0.0009295, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001091/0.001091, allocations: 168.7 kB / 15.95 MB, free: 200 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.522/1.522, 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.702/1.702, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005896/0.0005897, allocations: 15.22 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3016, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005084/0.3068, allocations: 3.843 MB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.3113, allocations: 3.007 MB / 0.7941 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.3116, allocations: 12 kB / 0.7941 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.3121, allocations: 159.1 kB / 0.7943 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.3129, allocations: 309.2 kB / 0.7946 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.3134, allocations: 175.6 kB / 0.7947 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.3142, allocations: 0.6463 MB / 0.7954 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.3154, allocations: 0.7384 MB / 0.7961 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.3157, allocations: 187.2 kB / 0.7963 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.316, allocations: 235.1 kB / 0.7965 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.3161, allocations: 20 kB / 0.7965 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.3167, allocations: 235.7 kB / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3169, allocations: 139.6 kB / 0.7969 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.317, allocations: 101.5 kB / 0.797 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.3177, allocations: 0.674 MB / 0.7976 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3177, allocations: 0 / 0.7976 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.91e-07/0.3177, allocations: 0 / 0.7976 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3177, allocations: 0 / 0.7976 GB, free: 1.316 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001234/0.3189, allocations: 0.7207 MB / 0.7983 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.319, allocations: 8.031 kB / 0.7983 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.3191, allocations: 70.53 kB / 0.7984 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.3218, allocations: 0.6897 MB / 0.7991 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.3226, allocations: 474.6 kB / 0.7995 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.3227, allocations: 24.64 kB / 0.7995 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-05/0.3228, allocations: 28 kB / 0.7996 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3243, allocations: 0.7825 MB / 0.8003 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.3244, allocations: 11.95 kB / 0.8004 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-05/0.3244, allocations: 19.92 kB / 0.8004 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/0.3246, allocations: 60.58 kB / 0.8004 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.3266, allocations: 0.8726 MB / 0.8013 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.3308, allocations: 2.858 MB / 0.8041 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.3323, allocations: 0.5214 MB / 0.8046 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.333, allocations: 268.6 kB / 0.8048 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.3331, allocations: 93.03 kB / 0.8049 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.61e-05/0.3332, allocations: 34.52 kB / 0.805 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3332, allocations: 0 / 0.805 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01053/0.3437, allocations: 3.209 MB / 0.8081 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.3438, allocations: 89.03 kB / 0.8082 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.3445, allocations: 413.6 kB / 0.8086 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.3446, allocations: 33.7 kB / 0.8086 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.3448, allocations: 239.7 kB / 0.8088 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.345, allocations: 86.83 kB / 0.8089 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.345, allocations: 4 kB / 0.8089 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3452, allocations: 346.8 kB / 0.8093 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008984/0.3461, allocations: 367.5 kB / 0.8096 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.347, allocations: 445.9 kB / 0.81 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.3479, allocations: 396.8 kB / 0.8104 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3479, allocations: 0 / 0.8104 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004739/0.3526, allocations: 1.53 MB / 0.8119 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3528, allocations: 148 kB / 0.812 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3528, allocations: 11.94 kB / 0.8121 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003548/0.3564, allocations: 0.8481 MB / 0.8129 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.3569, allocations: 123.8 kB / 0.813 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006996/0.3639, allocations: 4.679 MB / 0.8176 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.3647, allocations: 115.8 kB / 0.8177 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.3648, allocations: 15.98 kB / 0.8177 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.3648, allocations: 7.938 kB / 0.8177 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003945/0.3687, allocations: 1.253 MB / 0.8189 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3688, allocations: 4 kB / 0.8189 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.3712, allocations: 0.5587 MB / 0.8195 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.3718, allocations: 143.8 kB / 0.8196 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.3755, allocations: 2.494 MB / 0.822 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.3763, allocations: 119.9 kB / 0.8222 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3763, allocations: 12 kB / 0.8222 GB, free: 7.199 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004686/0.3768, allocations: 321 kB / 0.8225 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3769, allocations: 35.58 kB / 0.8225 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/0.3814, allocations: 1.426 MB / 0.8239 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.3814, allocations: 4 kB / 0.8239 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3814, allocations: 0 / 0.8239 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.3814, allocations: 0 / 0.8239 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/0.3867, allocations: 2.098 MB / 0.826 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.3868, allocations: 0 / 0.826 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.3871, allocations: 83.89 kB / 0.826 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.3905, allocations: 0.7857 MB / 0.8268 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.3905, allocations: 8 kB / 0.8268 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.3967, allocations: 4.489 MB / 0.8312 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.3967, allocations: 4.031 kB / 0.8312 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/0.4009, allocations: 1.448 MB / 0.8326 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.4012, allocations: 164.7 kB / 0.8328 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.4013, allocations: 11.98 kB / 0.8328 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/0.4019, allocations: 95.86 kB / 0.8329 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.402, allocations: 28.09 kB / 0.8329 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.402, allocations: 8 kB / 0.8329 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004161/0.4025, allocations: 315 kB / 0.8332 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4025, allocations: 0 / 0.8332 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009516/0.4034, allocations: 204 kB / 0.8334 GB, free: 11.28 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004663/0.4081, allocations: 2.004 MB / 0.8354 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003658/0.4118, allocations: 1.625 MB / 0.8369 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.4118, allocations: 0 / 0.8369 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.413, allocations: 0.6653 MB / 0.8376 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.4139, allocations: 133.8 kB / 0.8377 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.4269, allocations: 4.229 MB / 0.8419 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.428, allocations: 0.9093 MB / 0.8427 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008549/0.4289, allocations: 155.2 kB / 0.8429 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.4293, allocations: 135.4 kB / 0.843 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/0.4293, allocations: 0 / 0.843 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/0.4762, allocations: 15.88 MB / 0.8585 GB, free: 1.582 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.4765, allocations: 221.1 kB / 0.8587 GB, free: 1.348 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.686, allocations: 0 / 0.8587 GB, free: 1.348 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: