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.797/1.797, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.00114/0.00114, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.569/1.569, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008671/0.0008672, allocations: 91.39 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.833e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6491, allocations: 116.3 MB / 0.9733 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/0.8935, allocations: 180.2 MB / 1.149 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.8939, allocations: 101 kB / 1.149 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.196/1.09, allocations: 77.23 MB / 1.225 GB, free: 4.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.232e-06/1.09, allocations: 0 / 1.225 GB, free: 4.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.38e-05/1.09, allocations: 40 kB / 1.225 GB, free: 3.98 MB / 0.823 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.00263/1.093, allocations: 1.536 MB / 1.226 GB, free: 2.395 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.093, allocations: 8.031 kB / 1.226 GB, free: 2.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/1.103, allocations: 1.815 MB / 1.228 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.105, allocations: 1.134 MB / 1.229 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/1.105, allocations: 36 kB / 1.229 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/1.105, allocations: 71.91 kB / 1.229 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002342/1.107, allocations: 1.438 MB / 1.231 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/1.11, allocations: 1.872 MB / 1.233 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/1.11, allocations: 7.938 kB / 1.233 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/1.11, allocations: 8 kB / 1.233 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.074e-05/1.11, allocations: 74.2 kB / 1.233 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/1.123, allocations: 9.931 MB / 1.242 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.125, allocations: 1.107 MB / 1.243 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/1.126, allocations: 0.58 MB / 1.244 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/1.126, allocations: 4.438 kB / 1.244 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.126, allocations: 46.98 kB / 1.244 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=53): time 2.404e-06/1.126, allocations: 4 kB / 1.244 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81): time 0.007937/1.134, allocations: 3.874 MB / 1.248 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/1.134, allocations: 222.4 kB / 1.248 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/1.135, allocations: 0.746 MB / 1.249 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/1.135, allocations: 25.7 kB / 1.249 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/1.135, allocations: 0.7446 MB / 1.25 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/1.135, allocations: 264 kB / 1.25 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/1.135, allocations: 0 / 1.25 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.136, allocations: 349.9 kB / 1.25 GB, free: 9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008437/1.136, allocations: 0.6703 MB / 1.251 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.137, allocations: 0.9072 MB / 1.252 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.139, allocations: 0.7737 MB / 1.252 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.139, allocations: 4 kB / 1.252 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004627/1.143, allocations: 2.43 MB / 1.255 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.143, allocations: 8 kB / 1.255 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.143, allocations: 8.062 kB / 1.255 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/1.146, allocations: 0.8323 MB / 1.256 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.148, allocations: 427.2 kB / 1.256 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.556/1.704, allocations: 14.31 MB / 1.27 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.707, allocations: 292 kB / 1.27 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/1.707, allocations: 50.84 kB / 1.27 GB, free: 201.4 MB / 0.8542 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 () * 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.0002691/1.707, allocations: 130.8 kB / 1.27 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004734/1.712, allocations: 2.234 MB / 1.273 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/1.712, allocations: 128.7 kB / 1.273 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005005/1.717, allocations: 2.413 MB / 1.275 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.717, allocations: 12 kB / 1.275 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/1.717, allocations: 8.25 kB / 1.275 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.717, allocations: 5.484 kB / 1.275 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/1.726, allocations: 4.015 MB / 1.279 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.726, allocations: 5.672 kB / 1.279 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.727, allocations: 367.7 kB / 1.279 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/1.73, allocations: 0.7622 MB / 1.28 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.73, allocations: 22.36 kB / 1.28 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/1.743, allocations: 13.93 MB / 1.294 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.743, allocations: 6.438 kB / 1.294 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/1.748, allocations: 2.419 MB / 1.296 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/1.748, allocations: 375.9 kB / 1.296 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.749, allocations: 6.625 kB / 1.297 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.751, allocations: 292.4 kB / 1.297 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.751, allocations: 80.73 kB / 1.297 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.751, allocations: 39.11 kB / 1.297 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008637/1.752, allocations: 0.5612 MB / 1.297 GB, free: 190 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/1.752, allocations: 0 / 1.297 GB, free: 190 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001823/1.754, allocations: 414 kB / 1.298 GB, free: 190 MB / 0.8542 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 () * 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.004713/1.758, allocations: 3.752 MB / 1.302 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004857/1.763, allocations: 2.736 MB / 1.304 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.763, allocations: 1.031 kB / 1.304 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00298/1.766, allocations: 1.904 MB / 1.306 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.769, allocations: 421.8 kB / 1.306 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/1.777, allocations: 2.955 MB / 1.309 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/1.779, allocations: 1.418 MB / 1.311 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001817/1.781, allocations: 359.4 kB / 1.311 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/1.781, allocations: 0.5838 MB / 1.312 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.781, allocations: 0 / 1.312 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/1.857, allocations: 37.23 MB / 1.348 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/1.858, allocations: 147.4 kB / 1.348 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/4.751, allocations: 0 / 1.348 GB, free: 181.3 MB / 0.8542 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)