Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 67.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9341/0.9367, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004717/0.9414, allocations: 3.329 MB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.9436, allocations: 1.425 MB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.9437, allocations: 4.5 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.9447, allocations: 351.9 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.9451, allocations: 154.2 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.9455, allocations: 140 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.9458, allocations: 338.6 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.9462, allocations: 181.9 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.9464, allocations: 142.1 kB / 1.277 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.9467, allocations: 158 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.9467, allocations: 20.53 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.947, allocations: 176.2 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-05/0.9471, allocations: 83.56 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.9472, allocations: 121.3 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.9476, allocations: 357.6 kB / 1.278 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9476, allocations: 4 kB / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9477, allocations: 0.9062 kB / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9477, allocations: 0 / 1.278 GB, free: 3.492 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007822/0.9484, allocations: 0.5455 MB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9485, allocations: 17.5 kB / 1.279 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.9485, allocations: 56.61 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005584/0.9491, allocations: 84.5 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.9493, allocations: 264.3 kB / 1.279 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.9494, allocations: 12.38 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.9494, allocations: 17.44 kB / 1.279 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.9499, allocations: 322.8 kB / 1.28 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.9499, allocations: 0 / 1.28 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.9499, allocations: 10.95 kB / 1.28 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.95, allocations: 21.3 kB / 1.28 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.9503, allocations: 206.5 kB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.9517, allocations: 1.5 MB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.9521, allocations: 194.8 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.9522, allocations: 43.02 kB / 1.281 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.9522, allocations: 0.875 kB / 1.281 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.9522, allocations: 36.22 kB / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.9522, allocations: 0 / 1.282 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.9527, allocations: 261.5 kB / 1.282 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.9528, allocations: 52.94 kB / 1.282 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.953, allocations: 207.9 kB / 1.282 GB, free: 492 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.953, allocations: 27.45 kB / 1.282 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.953, allocations: 190.3 kB / 1.282 GB, free: 292 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.9531, allocations: 26.48 kB / 1.282 GB, free: 272 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.9531, allocations: 40.94 kB / 1.282 GB, free: 240 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9532, allocations: 326.3 kB / 1.283 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.78e-05/0.9533, allocations: 44.36 kB / 1.283 GB, free: 15.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.9535, allocations: 107.6 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.9537, allocations: 168.8 kB / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9537, allocations: 0 / 1.283 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003944/0.9541, allocations: 216.2 kB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.9542, allocations: 7.125 kB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.9542, allocations: 3.781 kB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/0.9543, allocations: 29.52 kB / 1.283 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.9545, allocations: 36.41 kB / 1.283 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.9557, allocations: 1.426 MB / 1.285 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.9559, allocations: 23.84 kB / 1.285 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.9559, allocations: 12.03 kB / 1.285 GB, free: 14.1 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.956, allocations: 149.4 kB / 1.285 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.9561, allocations: 17.34 kB / 1.285 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.9561, allocations: 19.31 kB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.9561, allocations: 3.844 kB / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9561, allocations: 0 / 1.285 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9561, allocations: 4.609 kB / 1.285 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.9568, allocations: 486.8 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9568, allocations: 0 / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.9569, allocations: 9.547 kB / 1.285 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-05/0.957, allocations: 28.16 kB / 1.285 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.957, allocations: 10.39 kB / 1.285 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.9581, allocations: 1.423 MB / 1.287 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9581, allocations: 3.938 kB / 1.287 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.9584, allocations: 237.8 kB / 1.287 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.9585, allocations: 99.86 kB / 1.287 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9585, allocations: 0 / 1.287 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.9587, allocations: 14.14 kB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.9587, allocations: 10.97 kB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.9587, allocations: 3.188 kB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001425/0.9589, allocations: 152.9 kB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.9589, allocations: 0 / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003471/0.9592, allocations: 56.02 kB / 1.287 GB, free: 11.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006146/0.9598, allocations: 0.7737 MB / 1.288 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.9603, allocations: 225.7 kB / 1.288 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9603, allocations: 2.094 kB / 1.288 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.9605, allocations: 164.3 kB / 1.288 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.9609, allocations: 43.27 kB / 1.288 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.9635, allocations: 2.148 MB / 1.291 GB, free: 9.023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.9639, allocations: 0.7538 MB / 1.291 GB, free: 8.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.964, allocations: 31.36 kB / 1.291 GB, free: 8.312 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.9641, allocations: 55.94 kB / 1.291 GB, free: 8.27 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.9641, allocations: 3.938 kB / 1.291 GB, free: 8.266 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.994, allocations: 4.023 MB / 1.295 GB, free: 7.695 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.757/10.75, allocations: 11.55 kB / 1.295 GB, free: 7.695 MB / 1.014 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.7698633550026] Failed to read output from testmodel.py, exit status != 0: 10.834404789988184 10.854515 9.902779901 Calling exit ...