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.001701/0.001701, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002075/0.002075, allocations: 161.9 kB / 22.46 MB, free: 5.375 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002439/0.002439, allocations: 234.4 kB / 259.4 MB, free: 480 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 1.068/1.068, allocations: 138.4 MB / 454.3 MB, free: 1.965 MB / 366.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.97e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004818/0.004838, allocations: 3.173 MB / 0.6499 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.007163, allocations: 1.367 MB / 0.6512 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.007268, allocations: 7.938 kB / 0.6512 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.008326, allocations: 338.5 kB / 0.6515 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.2651/0.2734, allocations: 147.2 kB / 0.6517 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.2741, allocations: 162.1 kB / 0.6518 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.2746, allocations: 340.8 kB / 0.6522 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.275, allocations: 198.4 kB / 0.6523 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.2753, allocations: 199.6 kB / 0.6525 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.2756, allocations: 134.2 kB / 0.6527 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.2756, allocations: 20.41 kB / 0.6527 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.2759, allocations: 168.5 kB / 0.6528 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.276, allocations: 90.05 kB / 0.6529 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.412e-05/0.2761, allocations: 78.3 kB / 0.653 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.2765, allocations: 375.6 kB / 0.6534 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2765, allocations: 3.781 kB / 0.6534 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2765, allocations: 0.625 kB / 0.6534 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2765, allocations: 0 / 0.6534 GB, free: 53.13 MB / 0.5606 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.0007445/0.2772, allocations: 485 kB / 0.6538 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2773, allocations: 11.23 kB / 0.6538 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.2779, allocations: 90.66 kB / 0.6539 GB, free: 52.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.2782, allocations: 200.1 kB / 0.6541 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2782, allocations: 18.11 kB / 0.6541 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.2782, allocations: 21.06 kB / 0.6542 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.2786, allocations: 390.6 kB / 0.6545 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2786, allocations: 3.609 kB / 0.6545 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.2787, allocations: 10.38 kB / 0.6545 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.2787, allocations: 16.75 kB / 0.6546 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.279, allocations: 214.3 kB / 0.6548 GB, free: 52.44 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.28, allocations: 1.015 MB / 0.6558 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2804, allocations: 122.2 kB / 0.6559 GB, free: 51.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.2805, allocations: 39.86 kB / 0.6559 GB, free: 51.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.2805, allocations: 3.344 kB / 0.6559 GB, free: 51.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2805, allocations: 35.62 kB / 0.6559 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.864e-06/0.2805, allocations: 1.875 kB / 0.6559 GB, free: 51.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005073/0.281, allocations: 188 kB / 0.6561 GB, free: 51.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.281, allocations: 54.66 kB / 0.6562 GB, free: 51.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.2812, allocations: 204.1 kB / 0.6564 GB, free: 51.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2812, allocations: 29.02 kB / 0.6564 GB, free: 51.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.2813, allocations: 177.5 kB / 0.6566 GB, free: 51.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.2813, allocations: 32.69 kB / 0.6566 GB, free: 51.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.2813, allocations: 41.7 kB / 0.6566 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.2814, allocations: 325.2 kB / 0.6569 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.2815, allocations: 43.83 kB / 0.657 GB, free: 50.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.2816, allocations: 114 kB / 0.6571 GB, free: 50.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.2818, allocations: 167 kB / 0.6573 GB, free: 50.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2818, allocations: 4.469 kB / 0.6573 GB, free: 50.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003146/0.2821, allocations: 209.6 kB / 0.6575 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2821, allocations: 9.875 kB / 0.6575 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2821, allocations: 3.531 kB / 0.6575 GB, free: 50.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/0.2823, allocations: 25.44 kB / 0.6575 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2824, allocations: 35.7 kB / 0.6575 GB, free: 50.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006831/0.2831, allocations: 1.306 MB / 0.6588 GB, free: 49.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.2832, allocations: 20.14 kB / 0.6588 GB, free: 49.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2832, allocations: 5.906 kB / 0.6588 GB, free: 49.53 MB / 0.5606 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 9.04e-05/0.2833, allocations: 145.5 kB / 0.659 GB, free: 49.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.2834, allocations: 18.06 kB / 0.659 GB, free: 49.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.2834, allocations: 21.69 kB / 0.659 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2834, allocations: 10.72 kB / 0.659 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2834, allocations: 3.281 kB / 0.659 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2834, allocations: 0 / 0.659 GB, free: 49.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.2838, allocations: 412.3 kB / 0.6594 GB, free: 49.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2838, allocations: 0 / 0.6594 GB, free: 49.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/0.2839, allocations: 13.09 kB / 0.6594 GB, free: 49.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/0.284, allocations: 21.02 kB / 0.6594 GB, free: 49.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.284, allocations: 3.766 kB / 0.6595 GB, free: 49.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005811/0.2846, allocations: 1.296 MB / 0.6607 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2846, allocations: 0 / 0.6607 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.2848, allocations: 243.6 kB / 0.661 GB, free: 47.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.2848, allocations: 24.78 kB / 0.661 GB, free: 47.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.2849, allocations: 0 / 0.661 GB, free: 47.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.285, allocations: 14.83 kB / 0.661 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.285, allocations: 14.55 kB / 0.661 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.285, allocations: 3.406 kB / 0.661 GB, free: 47.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.194e-05/0.2851, allocations: 135.5 kB / 0.6611 GB, free: 47.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2851, allocations: 0 / 0.6611 GB, free: 47.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003053/0.2854, allocations: 60.75 kB / 0.6612 GB, free: 47.62 MB / 0.5606 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.616e-05/0.2855, allocations: 109.1 kB / 0.6613 GB, free: 47.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.2859, allocations: 224.8 kB / 0.6615 GB, free: 47.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2859, allocations: 0 / 0.6615 GB, free: 47.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.286, allocations: 167.8 kB / 0.6617 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2864, allocations: 32.06 kB / 0.6617 GB, free: 47.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.2869, allocations: 382.3 kB / 0.6621 GB, free: 47.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.287, allocations: 148.2 kB / 0.6622 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.168e-05/0.2871, allocations: 25.11 kB / 0.6622 GB, free: 46.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.2871, allocations: 14.97 kB / 0.6622 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2871, allocations: 1.969 kB / 0.6622 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.004854/0.292, allocations: 1.863 MB / 0.6641 GB, free: 46.77 MB / 0.5606 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.924642335623503] Failed to read output from testmodel.py, exit status != 0: 0.2994001470506191 0.30900692599999996 0.029948373 Calling exit ...