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.0007521/0.0007521, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007616/0.0007616, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8579/0.8579, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 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.001418/0.001418, allocations: 230.5 kB / 260.2 MB, free: 13 MB / 250.7 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.6872/0.6872, allocations: 138.4 MB / 455.1 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6475 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.52e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.2183/0.2184, allocations: 3.164 MB / 0.6506 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2197, allocations: 1.36 MB / 0.6519 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2198, allocations: 10.16 kB / 0.6519 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.2204, allocations: 341.7 kB / 0.6523 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.2206, allocations: 148.9 kB / 0.6524 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2208, allocations: 166 kB / 0.6526 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.2211, allocations: 346.1 kB / 0.6529 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.2213, allocations: 195.7 kB / 0.6531 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.2215, allocations: 196.9 kB / 0.6533 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2217, allocations: 129.3 kB / 0.6534 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.2217, allocations: 24.66 kB / 0.6534 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.2219, allocations: 162.4 kB / 0.6536 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.222, allocations: 90.8 kB / 0.6536 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.222, allocations: 82.95 kB / 0.6537 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2224, allocations: 377.7 kB / 0.6541 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2224, allocations: 0.6562 kB / 0.6541 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2224, allocations: 0 / 0.6541 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2224, allocations: 0.5312 kB / 0.6541 GB, free: 54.45 MB / 0.5573 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.0005445/0.2229, allocations: 493.6 kB / 0.6546 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.2229, allocations: 11.8 kB / 0.6546 GB, free: 54.06 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.2233, allocations: 88.25 kB / 0.6547 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.2235, allocations: 202.7 kB / 0.6548 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2235, allocations: 17.06 kB / 0.6549 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2235, allocations: 16.78 kB / 0.6549 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.2238, allocations: 393.2 kB / 0.6553 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.2238, allocations: 5.094 kB / 0.6553 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2239, allocations: 7.578 kB / 0.6553 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.2239, allocations: 20.11 kB / 0.6553 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.2241, allocations: 213.6 kB / 0.6555 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.2248, allocations: 1.014 MB / 0.6565 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.225, allocations: 123.8 kB / 0.6566 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.2251, allocations: 44.5 kB / 0.6566 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2251, allocations: 4.594 kB / 0.6566 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.163e-05/0.2251, allocations: 34.19 kB / 0.6567 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2251, allocations: 0 / 0.6567 GB, free: 52.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003111/0.2254, allocations: 180.2 kB / 0.6568 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.2254, allocations: 56.97 kB / 0.6569 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2255, allocations: 206.4 kB / 0.6571 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2256, allocations: 26.8 kB / 0.6571 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.2256, allocations: 182 kB / 0.6573 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.2256, allocations: 29.92 kB / 0.6573 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2257, allocations: 42.19 kB / 0.6574 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.23e-05/0.2257, allocations: 325.8 kB / 0.6577 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.2258, allocations: 43.89 kB / 0.6577 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-05/0.2258, allocations: 110.2 kB / 0.6578 GB, free: 51.64 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2259, allocations: 173 kB / 0.658 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2259, allocations: 3.344 kB / 0.658 GB, free: 51.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002106/0.2262, allocations: 214.2 kB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2262, allocations: 6.812 kB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2262, allocations: 1.906 kB / 0.6582 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.2263, allocations: 27.5 kB / 0.6582 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.2264, allocations: 34.22 kB / 0.6583 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.2268, allocations: 1.298 MB / 0.6595 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.2269, allocations: 24.16 kB / 0.6596 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.2269, allocations: 8.219 kB / 0.6596 GB, free: 50.12 MB / 0.5573 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 6.71e-05/0.227, allocations: 144.4 kB / 0.6597 GB, free: 50 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.227, allocations: 20.83 kB / 0.6597 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.548e-05/0.227, allocations: 22.22 kB / 0.6597 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.227, allocations: 2.438 kB / 0.6597 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.227, allocations: 0 / 0.6597 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.227, allocations: 2.719 kB / 0.6597 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.2273, allocations: 410.6 kB / 0.6601 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2273, allocations: 0.9844 kB / 0.6601 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.2273, allocations: 11.98 kB / 0.6601 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-05/0.2274, allocations: 25.52 kB / 0.6602 GB, free: 49.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2274, allocations: 6.328 kB / 0.6602 GB, free: 49.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003747/0.2278, allocations: 1.294 MB / 0.6614 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2278, allocations: 7.562 kB / 0.6614 GB, free: 48.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2279, allocations: 234.6 kB / 0.6617 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.228, allocations: 20.56 kB / 0.6617 GB, free: 48.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.228, allocations: 9.25 kB / 0.6617 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.228, allocations: 6.781 kB / 0.6617 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.2281, allocations: 6.469 kB / 0.6617 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2281, allocations: 6.469 kB / 0.6617 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.2281, allocations: 141.8 kB / 0.6619 GB, free: 48.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2281, allocations: 0 / 0.6619 GB, free: 48.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002024/0.2283, allocations: 60.09 kB / 0.6619 GB, free: 48.09 MB / 0.5573 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 6.344e-05/0.2284, allocations: 98.97 kB / 0.662 GB, free: 48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2286, allocations: 228.8 kB / 0.6622 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2286, allocations: 0 / 0.6622 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.2287, allocations: 167.7 kB / 0.6624 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.229, allocations: 33.2 kB / 0.6624 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.2294, allocations: 423.7 kB / 0.6628 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.259e-05/0.2294, allocations: 143.7 kB / 0.663 GB, free: 47.35 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.2295, allocations: 20.39 kB / 0.663 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of SimCode: time 4.7e-07/0.2295, allocations: 0 / 0.663 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.003459/0.2329, allocations: 3.299 MB / 0.6662 GB, free: 47.14 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.441963218152523] Failed to read output from testmodel.py, exit status != 0: 0.23776111658662558 0.244382753 0.020353795 Calling exit ...