Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0009067/0.0009067, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009156/0.0009156, allocations: 181 kB / 23.36 MB, free: 1.133 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.9361/0.9361, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.001803/0.001803, allocations: 245.6 kB / 260.5 MB, free: 12.7 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.755/0.755, allocations: 138.4 MB / 402.2 MB, free: 0.5195 MB / 362.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.311e-05, allocations: 2.312 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004358/0.004371, allocations: 2.71 MB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.007035, allocations: 1.482 MB / 466.6 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.007164, allocations: 12.25 kB / 466.6 MB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.007552, allocations: 100.4 kB / 466.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.007927, allocations: 196.1 kB / 466.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.008423, allocations: 256.6 kB / 467.1 MB, free: 13.81 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.008818, allocations: 428 kB / 467.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.009053, allocations: 178.2 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.009319, allocations: 227.5 kB / 467.9 MB, free: 13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.009577, allocations: 181 kB / 468.1 MB, free: 12.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.009608, allocations: 24 kB / 468.1 MB, free: 12.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.009873, allocations: 175.6 kB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.00998, allocations: 128.8 kB / 468.4 MB, free: 12.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.288e-05/0.01006, allocations: 107.7 kB / 468.5 MB, free: 12.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.01047, allocations: 351.5 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01047, allocations: 0.6875 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01048, allocations: 0 / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01048, allocations: 1.312 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0006574/0.01114, allocations: 0.4921 MB / 469.4 MB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.01117, allocations: 8.75 kB / 469.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.01176, allocations: 143.4 kB / 469.5 MB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.01198, allocations: 218.8 kB / 469.7 MB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.012, allocations: 19.91 kB / 469.7 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.01207, allocations: 32.73 kB / 469.8 MB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.01253, allocations: 379.5 kB / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01254, allocations: 192 / 470.1 MB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.01257, allocations: 21.42 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.49e-05/0.01265, allocations: 40.47 kB / 470.2 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.0128, allocations: 110.2 kB / 470.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.0139, allocations: 1.287 MB / 471.6 MB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.01417, allocations: 172.5 kB / 471.8 MB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.01422, allocations: 50.16 kB / 471.8 MB, free: 8.977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.01424, allocations: 4.531 kB / 471.8 MB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.01426, allocations: 30.56 kB / 471.9 MB, free: 8.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.01426, allocations: 2.281 kB / 471.9 MB, free: 8.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007296/0.01499, allocations: 435 kB / 472.3 MB, free: 8.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.01501, allocations: 57.86 kB / 472.3 MB, free: 8.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01515, allocations: 218.4 kB / 472.6 MB, free: 8.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.01517, allocations: 29.7 kB / 472.6 MB, free: 8.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.01524, allocations: 188.2 kB / 472.8 MB, free: 7.961 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.01529, allocations: 91.73 kB / 472.9 MB, free: 7.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.01538, allocations: 74.86 kB / 472.9 MB, free: 7.793 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.01545, allocations: 338.7 kB / 473.3 MB, free: 7.453 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.376e-05/0.01551, allocations: 41.45 kB / 473.3 MB, free: 7.414 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.01561, allocations: 126.9 kB / 473.4 MB, free: 7.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.01579, allocations: 197.5 kB / 473.6 MB, free: 7.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01579, allocations: 4 kB / 473.6 MB, free: 7.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004185/0.01621, allocations: 298 kB / 473.9 MB, free: 6.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01622, allocations: 8 kB / 473.9 MB, free: 6.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01623, allocations: 3.938 kB / 473.9 MB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005249/0.01675, allocations: 186.9 kB / 474.1 MB, free: 6.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01691, allocations: 59.91 kB / 474.2 MB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.01833, allocations: 1.56 MB / 475.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.01848, allocations: 17.3 kB / 475.7 MB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.0185, allocations: 12 kB / 475.8 MB, free: 4.812 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/0.01859, allocations: 130.6 kB / 475.9 MB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.01863, allocations: 27.91 kB / 475.9 MB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.01881, allocations: 162 kB / 476.1 MB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.01881, allocations: 9.906 kB / 476.1 MB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.01882, allocations: 0 / 476.1 MB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01882, allocations: 0 / 476.1 MB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.01923, allocations: 447.8 kB / 476.5 MB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01923, allocations: 0 / 476.5 MB, free: 4.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.01951, allocations: 97.89 kB / 476.6 MB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01951, allocations: 4 kB / 476.6 MB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01953, allocations: 8.438 kB / 476.6 MB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01953, allocations: 4.75 kB / 476.6 MB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01953, allocations: 3.984 kB / 476.6 MB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.01978, allocations: 343.5 kB / 477 MB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.01984, allocations: 48.64 kB / 477 MB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.01987, allocations: 11.19 kB / 477 MB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.01997, allocations: 11.98 kB / 477 MB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.01999, allocations: 9.234 kB / 477 MB, free: 3.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.02, allocations: 7.984 kB / 477.1 MB, free: 3.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.02006, allocations: 65.67 kB / 477.1 MB, free: 3.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02006, allocations: 4.688 kB / 477.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002432/0.02031, allocations: 91.98 kB / 477.2 MB, free: 3.309 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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 9.656e-05/0.0204, allocations: 90.45 kB / 477.3 MB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.02079, allocations: 339.4 kB / 477.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.0208, allocations: 4.781 kB / 477.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.07e-05/0.02087, allocations: 69.45 kB / 477.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.02109, allocations: 53.16 kB / 477.8 MB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009406/0.02203, allocations: 0.6346 MB / 478.4 MB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.0221, allocations: 112.3 kB / 478.5 MB, free: 1.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.0222, allocations: 36.89 kB / 478.5 MB, free: 1.953 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.02234, allocations: 95.34 kB / 478.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02234, allocations: 0.5 kB / 478.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of Templates: time 0.006096/0.02844, allocations: 4.458 MB / 483.1 MB, free: 13.68 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.465243838727474]