Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.00127/0.00127, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.001039/0.001039, allocations: 173 kB / 23.49 MB, free: 1.059 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.9173/0.9173, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.001639/0.001639, allocations: 226.1 kB / 260.5 MB, free: 12.91 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.7461/0.7461, allocations: 138.4 MB / 455.4 MB, free: 29.96 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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.555 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.749e-05, allocations: 2.312 kB / 0.555 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002614/0.002632, allocations: 2.509 MB / 0.5575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004368, allocations: 1.602 MB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.004455, allocations: 3.938 kB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004969/0.004952, allocations: 179.2 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.005211, allocations: 151.2 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.005491, allocations: 187.3 kB / 0.5595 GB, free: 11.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.005728, allocations: 227.2 kB / 0.5597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.00594, allocations: 105.1 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.006115, allocations: 119.7 kB / 0.56 GB, free: 11.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.006273, allocations: 91.8 kB / 0.56 GB, free: 11.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.006295, allocations: 15.94 kB / 0.5601 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.006504, allocations: 203.5 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.006566, allocations: 71.81 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.006635, allocations: 51.91 kB / 0.5604 GB, free: 10.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.006968, allocations: 255.2 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.006971, allocations: 0 / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006971, allocations: 0 / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006975, allocations: 4 kB / 0.5606 GB, free: 10.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004918/0.007467, allocations: 0.4998 MB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.007505, allocations: 8.75 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.008028, allocations: 124.5 kB / 0.5612 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.008223, allocations: 176.3 kB / 0.5614 GB, free: 9.875 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.008236, allocations: 8.656 kB / 0.5614 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.008265, allocations: 12.38 kB / 0.5614 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.008568, allocations: 272.1 kB / 0.5617 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.008578, allocations: 192 / 0.5617 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.008598, allocations: 11.94 kB / 0.5617 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.008631, allocations: 16.22 kB / 0.5617 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.008793, allocations: 112.5 kB / 0.5618 GB, free: 9.391 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.009905, allocations: 1.597 MB / 0.5634 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.01012, allocations: 134.1 kB / 0.5635 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.01017, allocations: 35.36 kB / 0.5635 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.01019, allocations: 0 / 0.5635 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.01022, allocations: 41.39 kB / 0.5636 GB, free: 7.469 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.893e-06/0.01022, allocations: 0 / 0.5636 GB, free: 7.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004204/0.01064, allocations: 153.1 kB / 0.5637 GB, free: 7.312 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.01068, allocations: 85.09 kB / 0.5638 GB, free: 7.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.01087, allocations: 254.5 kB / 0.564 GB, free: 6.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.01088, allocations: 25.89 kB / 0.5641 GB, free: 6.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.01097, allocations: 210.9 kB / 0.5643 GB, free: 6.699 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.01099, allocations: 43.69 kB / 0.5643 GB, free: 6.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.01105, allocations: 55.25 kB / 0.5644 GB, free: 6.594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01116, allocations: 0.5039 MB / 0.5649 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.01122, allocations: 39.67 kB / 0.5649 GB, free: 6.035 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.01133, allocations: 149.2 kB / 0.565 GB, free: 5.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.01151, allocations: 199 kB / 0.5652 GB, free: 5.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01151, allocations: 0 / 0.5652 GB, free: 5.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002423/0.01175, allocations: 209.2 kB / 0.5654 GB, free: 5.379 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01176, allocations: 10.81 kB / 0.5654 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01177, allocations: 0 / 0.5654 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01178, allocations: 4 kB / 0.5654 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01194, allocations: 51.91 kB / 0.5655 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01194, allocations: 4 kB / 0.5655 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01205, allocations: 36.23 kB / 0.5655 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.01206, allocations: 15.94 kB / 0.5655 GB, free: 5.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.349e-05/0.01216, allocations: 150.9 kB / 0.5657 GB, free: 5.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001069/0.01226, allocations: 163.5 kB / 0.5658 GB, free: 4.895 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001451/0.01241, allocations: 199.4 kB / 0.566 GB, free: 4.641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.01241, allocations: 0 / 0.566 GB, free: 4.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0002148/0.01263, allocations: 189.2 kB / 0.5662 GB, free: 4.449 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.01263, allocations: 8 kB / 0.5662 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.01263, allocations: 0 / 0.5662 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.01264, allocations: 12.11 kB / 0.5662 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01274, allocations: 55.91 kB / 0.5663 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01275, allocations: 4 kB / 0.5663 GB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.01284, allocations: 16.31 kB / 0.5663 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.01285, allocations: 16 kB / 0.5663 GB, free: 4.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.01295, allocations: 284 kB / 0.5666 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.01298, allocations: 11.95 kB / 0.5666 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.01312, allocations: 95.48 kB / 0.5667 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01312, allocations: 4 kB / 0.5667 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01313, allocations: 0 / 0.5667 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01313, allocations: 0 / 0.5667 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.01363, allocations: 0.6341 MB / 0.5673 GB, free: 3.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01363, allocations: 4 kB / 0.5673 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.01369, allocations: 35.86 kB / 0.5674 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01369, allocations: 4 kB / 0.5674 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.0137, allocations: 0 / 0.5674 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.0137, allocations: 7.984 kB / 0.5674 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01371, allocations: 4 kB / 0.5674 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01393, allocations: 444.4 kB / 0.5678 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.01398, allocations: 35.81 kB / 0.5678 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.014, allocations: 4 kB / 0.5678 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.01409, allocations: 11.98 kB / 0.5678 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.01412, allocations: 15.92 kB / 0.5679 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.01413, allocations: 4 kB / 0.5679 GB, free: 2.609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.93e-05/0.01422, allocations: 176.2 kB / 0.568 GB, free: 2.438 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01422, allocations: 0 / 0.568 GB, free: 2.438 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.01456, allocations: 68 kB / 0.5681 GB, free: 2.371 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.01469, allocations: 115.1 kB / 0.5682 GB, free: 2.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01495, allocations: 197.1 kB / 0.5684 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01495, allocations: 0 / 0.5684 GB, free: 2.055 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.01499, allocations: 43.88 kB / 0.5684 GB, free: 2.008 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01531, allocations: 36.25 kB / 0.5685 GB, free: 1.973 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.01596, allocations: 417.2 kB / 0.5689 GB, free: 1.496 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.755e-05/0.01602, allocations: 92.25 kB / 0.569 GB, free: 1.387 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.01615, allocations: 69.39 kB / 0.569 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.01619, allocations: 16.5 kB / 0.569 GB, free: 1.305 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01619, allocations: 0 / 0.569 GB, free: 1.305 MB / 490.7 MB Notification: Performance of Templates: time 0.003526/0.01972, allocations: 1.91 MB / 0.5709 GB, free: 15.43 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5752643099986017]