Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.002829/0.002829, allocations: 184.8 kB / 360.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.00101/0.00101, allocations: 89.8 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.809e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.82, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/1.134, allocations: 156.2 MB / 1.116 GB, free: 244 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005055/1.135, allocations: 99.69 kB / 1.116 GB, free: 148 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06608/1.201, allocations: 11.69 MB / 1.127 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.065e-06/1.201, allocations: 0 / 1.127 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.215e-05/1.201, allocations: 3.984 kB / 1.127 GB, free: 4.441 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001409/1.203, allocations: 454.5 kB / 1.128 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.933e-05/1.203, allocations: 8.031 kB / 1.128 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/1.205, allocations: 76.88 kB / 1.128 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/1.205, allocations: 223.6 kB / 1.128 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/1.205, allocations: 4 kB / 1.128 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/1.206, allocations: 8 kB / 1.128 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008538/1.206, allocations: 156.3 kB / 1.128 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/1.207, allocations: 266.4 kB / 1.129 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.208, allocations: 0 / 1.129 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/1.208, allocations: 1.875 kB / 1.129 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/1.208, allocations: 16.22 kB / 1.129 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/1.212, allocations: 1.542 MB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/1.212, allocations: 69.19 kB / 1.13 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/1.212, allocations: 49.81 kB / 1.13 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/1.212, allocations: 3.938 kB / 1.13 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/1.212, allocations: 34.56 kB / 1.13 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 5.2e-06/1.212, allocations: 0 / 1.13 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0009199/1.213, allocations: 172.6 kB / 1.13 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/1.213, allocations: 82.8 kB / 1.131 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/1.214, allocations: 190.6 kB / 1.131 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.214, allocations: 25.7 kB / 1.131 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.214, allocations: 163.5 kB / 1.131 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/1.214, allocations: 31.55 kB / 1.131 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/1.214, allocations: 0 / 1.131 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.214, allocations: 322.8 kB / 1.131 GB, free: 272 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.215, allocations: 70.38 kB / 1.131 GB, free: 204 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/1.215, allocations: 159.1 kB / 1.131 GB, free: 4 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/1.216, allocations: 103.8 kB / 1.132 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/1.216, allocations: 4 kB / 1.132 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001134/1.217, allocations: 253.6 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007583/1.218, allocations: 1.144 MB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.218, allocations: 0 / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/1.218, allocations: 12.03 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007785/1.219, allocations: 55.91 kB / 1.133 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/1.219, allocations: 7.984 kB / 1.133 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/1.219, allocations: 23.88 kB / 1.133 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/1.219, allocations: 10.91 kB / 1.133 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.219, allocations: 4 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009211/1.22, allocations: 201 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.22, allocations: 4 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.22, allocations: 4 kB / 1.133 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/1.221, allocations: 47.91 kB / 1.133 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.221, allocations: 8 kB / 1.133 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/1.222, allocations: 7.984 kB / 1.133 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/1.222, allocations: 12 kB / 1.133 GB, free: 14.03 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/1.222, allocations: 116.7 kB / 1.133 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005068/1.222, allocations: 119.5 kB / 1.134 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.222, allocations: 19.92 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/1.223, allocations: 111.1 kB / 1.134 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.223, allocations: 4 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.223, allocations: 3.953 kB / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.223, allocations: 0 / 1.134 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.225, allocations: 0.5812 MB / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.225, allocations: 0 / 1.134 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.225, allocations: 15.98 kB / 1.134 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/1.225, allocations: 7.953 kB / 1.134 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.225, allocations: 7.938 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.621e-05/1.225, allocations: 3.938 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/1.225, allocations: 6.25 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/1.226, allocations: 405.1 kB / 1.135 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/1.226, allocations: 104.9 kB / 1.135 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/1.226, allocations: 4 kB / 1.135 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/1.227, allocations: 7.984 kB / 1.135 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/1.227, allocations: 15.98 kB / 1.135 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/1.227, allocations: 4 kB / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003177/1.227, allocations: 151.2 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.62e-07/1.227, allocations: 0 / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001268/1.228, allocations: 82.28 kB / 1.135 GB, free: 12.1 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/1.23, allocations: 1.432 MB / 1.136 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001066/1.231, allocations: 248.9 kB / 1.137 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.231, allocations: 4.188 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/1.231, allocations: 39.92 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/1.232, allocations: 29.64 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/1.234, allocations: 329.4 kB / 1.137 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/1.235, allocations: 0.7366 MB / 1.138 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006501/1.235, allocations: 71.97 kB / 1.138 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.236, allocations: 47.42 kB / 1.138 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of SimCode: time 1.693e-06/1.236, allocations: 0 / 1.138 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/1.279, allocations: 2.91 MB / 1.141 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/1.279, allocations: 170.7 kB / 1.141 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.621, allocations: 0 / 1.141 GB, free: 5.984 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)