Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 78.33 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 155.5 kB / 23.01 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002433/0.002433, allocations: 242.3 kB / 260 MB, free: 452 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9242/0.9242, allocations: 138.5 MB / 455 MB, free: 15.11 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003128/0.003128, allocations: 91.86 kB / 0.6473 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.433, allocations: 95.36 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004274/0.4373, allocations: 3.182 MB / 0.7436 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.4394, allocations: 1.384 MB / 0.7449 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.4396, allocations: 5.062 kB / 0.7449 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4406, allocations: 338.5 kB / 0.7452 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.4409, allocations: 150.8 kB / 0.7454 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.4413, allocations: 160.1 kB / 0.7455 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.4417, allocations: 334.5 kB / 0.7458 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.442, allocations: 197.3 kB / 0.746 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.4423, allocations: 147.8 kB / 0.7462 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.4425, allocations: 146.9 kB / 0.7463 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.4426, allocations: 20.62 kB / 0.7463 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.4428, allocations: 157.6 kB / 0.7465 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.4429, allocations: 79.42 kB / 0.7466 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.4431, allocations: 110.7 kB / 0.7467 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.4435, allocations: 366.4 kB / 0.747 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4435, allocations: 1.094 kB / 0.747 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4435, allocations: 0 / 0.747 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.4435, allocations: 0 / 0.747 GB, free: 13.49 MB / 0.5919 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.0007642/0.4443, allocations: 491.5 kB / 0.7475 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4443, allocations: 11.16 kB / 0.7475 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/0.445, allocations: 93.97 kB / 0.7476 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.4453, allocations: 200.7 kB / 0.7478 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4453, allocations: 13.59 kB / 0.7478 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.4453, allocations: 29.17 kB / 0.7478 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004882/0.4458, allocations: 387.8 kB / 0.7482 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4458, allocations: 0 / 0.7482 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.4458, allocations: 18.42 kB / 0.7482 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/0.4459, allocations: 21.48 kB / 0.7482 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.4462, allocations: 210.7 kB / 0.7484 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.4474, allocations: 1.015 MB / 0.7494 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.4477, allocations: 121.4 kB / 0.7495 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.4478, allocations: 42.52 kB / 0.7496 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4478, allocations: 1.344 kB / 0.7496 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4479, allocations: 35.97 kB / 0.7496 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4479, allocations: 0 / 0.7496 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005061/0.4484, allocations: 185.3 kB / 0.7498 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.4484, allocations: 56.56 kB / 0.7498 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.4486, allocations: 201.7 kB / 0.75 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4486, allocations: 25.7 kB / 0.7501 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.4486, allocations: 177.9 kB / 0.7502 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.4487, allocations: 39.55 kB / 0.7503 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.4487, allocations: 40.69 kB / 0.7503 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4488, allocations: 326.9 kB / 0.7506 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.4489, allocations: 44.08 kB / 0.7507 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.449, allocations: 117.7 kB / 0.7508 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.4492, allocations: 165.8 kB / 0.7509 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4492, allocations: 9.188 kB / 0.7509 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003391/0.4495, allocations: 207.7 kB / 0.7511 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4495, allocations: 5.312 kB / 0.7511 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4495, allocations: 2.688 kB / 0.7511 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.4497, allocations: 31.62 kB / 0.7512 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4498, allocations: 33.42 kB / 0.7512 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/0.4505, allocations: 1.306 MB / 0.7525 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4507, allocations: 16.33 kB / 0.7525 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4507, allocations: 9.656 kB / 0.7525 GB, free: 9.102 MB / 0.5919 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.0001021/0.4508, allocations: 156.3 kB / 0.7527 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.4508, allocations: 20.5 kB / 0.7527 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.4509, allocations: 18.94 kB / 0.7527 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4509, allocations: 1.922 kB / 0.7527 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.4509, allocations: 1.188 kB / 0.7527 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4509, allocations: 0.75 kB / 0.7527 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005068/0.4514, allocations: 398.2 kB / 0.7531 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4514, allocations: 0.8438 kB / 0.7531 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.671e-05/0.4515, allocations: 15.7 kB / 0.7531 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/0.4515, allocations: 28.61 kB / 0.7531 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4515, allocations: 4.703 kB / 0.7531 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006762/0.4522, allocations: 1.301 MB / 0.7544 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4522, allocations: 0 / 0.7544 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.4525, allocations: 238.4 kB / 0.7546 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.4525, allocations: 30.11 kB / 0.7546 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.4526, allocations: 1.75 kB / 0.7547 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.4527, allocations: 6.125 kB / 0.7547 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.4527, allocations: 10.22 kB / 0.7547 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4527, allocations: 1.438 kB / 0.7547 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001158/0.4528, allocations: 144.9 kB / 0.7548 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4528, allocations: 0 / 0.7548 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003602/0.4532, allocations: 68.23 kB / 0.7549 GB, free: 7.031 MB / 0.5919 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 8.021e-05/0.4533, allocations: 103.4 kB / 0.755 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.4537, allocations: 224 kB / 0.7552 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4537, allocations: 0 / 0.7552 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.4539, allocations: 158.8 kB / 0.7553 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4542, allocations: 41.27 kB / 0.7554 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.4548, allocations: 400.2 kB / 0.7558 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.455, allocations: 152.1 kB / 0.7559 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.584e-05/0.4551, allocations: 26.22 kB / 0.7559 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4551, allocations: 20.28 kB / 0.7559 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.4551, allocations: 0 / 0.7559 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of Templates: time 0.005666/0.4608, allocations: 1.854 MB / 0.7578 GB, free: 6.008 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.898305614944547] Failed to read output from testmodel.py, exit status != 0: 0.4691068499814719 0.48110219200000004 0.034570027 Calling exit ...