Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.607/2.607, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.0014/0.001399, allocations: 176.8 kB / 360.6 MB, free: 7.297 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.045/2.045, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001439/0.001439, allocations: 92.05 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.58e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.881, allocations: 115.3 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/1.151, allocations: 159.1 MB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/1.151, allocations: 95.94 kB / 1.119 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07576/1.227, allocations: 16.93 MB / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.974e-06/1.227, allocations: 0 / 1.135 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.769e-05/1.227, allocations: 8 kB / 1.135 GB, free: 12.31 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001781/1.229, allocations: 0.6055 MB / 1.136 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.229, allocations: 15.97 kB / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/1.23, allocations: 100.7 kB / 1.136 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/1.231, allocations: 282.2 kB / 1.136 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/1.231, allocations: 8 kB / 1.136 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/1.231, allocations: 19.98 kB / 1.136 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007316/1.232, allocations: 240.9 kB / 1.137 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/1.232, allocations: 341.8 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.232, allocations: 0 / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/1.233, allocations: 4 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/1.233, allocations: 26.88 kB / 1.137 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003313/1.236, allocations: 1.601 MB / 1.139 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/1.237, allocations: 381.4 kB / 1.139 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/1.238, allocations: 153.7 kB / 1.139 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/1.238, allocations: 93.09 kB / 1.139 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/1.239, allocations: 219.1 kB / 1.139 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/1.239, allocations: 0 / 1.139 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001498/1.24, allocations: 420.8 kB / 1.14 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/1.24, allocations: 89.19 kB / 1.14 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/1.24, allocations: 183.2 kB / 1.14 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/1.241, allocations: 29.7 kB / 1.14 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/1.241, allocations: 168 kB / 1.14 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.241, allocations: 90.66 kB / 1.14 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/1.241, allocations: 0 / 1.14 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.241, allocations: 334.8 kB / 1.141 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/1.241, allocations: 128.3 kB / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/1.242, allocations: 201.4 kB / 1.141 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/1.242, allocations: 156.1 kB / 1.141 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.243, allocations: 0 / 1.141 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001354/1.244, allocations: 428.3 kB / 1.142 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005053/1.244, allocations: 0.904 MB / 1.142 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.244, allocations: 0 / 1.142 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/1.245, allocations: 44.77 kB / 1.142 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/1.246, allocations: 94.11 kB / 1.143 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/1.248, allocations: 1.435 MB / 1.144 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/1.248, allocations: 47.86 kB / 1.144 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/1.249, allocations: 16 kB / 1.144 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.249, allocations: 4 kB / 1.144 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/1.25, allocations: 360.6 kB / 1.144 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.25, allocations: 4 kB / 1.144 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/1.25, allocations: 48.98 kB / 1.144 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/1.251, allocations: 87.88 kB / 1.144 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/1.253, allocations: 1.428 MB / 1.146 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/1.253, allocations: 39.86 kB / 1.146 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/1.253, allocations: 18.12 kB / 1.146 GB, free: 0.8594 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/1.254, allocations: 127.3 kB / 1.146 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001145/1.255, allocations: 353.9 kB / 1.146 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/1.255, allocations: 23.72 kB / 1.146 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/1.256, allocations: 376.2 kB / 1.147 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.256, allocations: 8 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.256, allocations: 0 / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.256, allocations: 3.984 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/1.257, allocations: 0.514 MB / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.257, allocations: 8.484 kB / 1.147 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/1.258, allocations: 84.02 kB / 1.147 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/1.258, allocations: 32.83 kB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.258, allocations: 4 kB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/1.26, allocations: 1.35 MB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.26, allocations: 9.359 kB / 1.149 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.261, allocations: 0.4897 MB / 1.149 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/1.262, allocations: 132.7 kB / 1.149 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/1.262, allocations: 3.984 kB / 1.149 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/1.262, allocations: 39.95 kB / 1.149 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.263, allocations: 32.14 kB / 1.149 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/1.263, allocations: 8 kB / 1.149 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002411/1.263, allocations: 160.5 kB / 1.15 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.41e-07/1.263, allocations: 0 / 1.15 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009191/1.264, allocations: 131.9 kB / 1.15 GB, free: 12.75 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/1.266, allocations: 1.255 MB / 1.151 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.268, allocations: 0.8351 MB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.268, allocations: 0 / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/1.268, allocations: 276.4 kB / 1.152 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/1.269, allocations: 41.53 kB / 1.152 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.271, allocations: 0.5174 MB / 1.153 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/1.272, allocations: 0.804 MB / 1.153 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006277/1.272, allocations: 100.8 kB / 1.153 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/1.272, allocations: 83.41 kB / 1.154 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of SimCode: time 3.507e-06/1.272, allocations: 0 / 1.154 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05687/1.329, allocations: 6.288 MB / 1.16 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/1.33, allocations: 163.2 kB / 1.16 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.964, allocations: 0 / 1.16 GB, free: 2.312 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)