Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.0008762/0.0008762, allocations: 80.75 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.0009505/0.0009505, 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.9222/0.9222, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001686/0.001686, allocations: 253.5 kB / 260.5 MB, free: 12.68 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.7039/0.7039, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.565e-05, allocations: 3.953 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004292/0.004308, allocations: 3.075 MB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.006569, allocations: 1.146 MB / 466.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.006785, allocations: 27.25 kB / 466.6 MB, free: 14.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.007379, allocations: 125.9 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.007945, allocations: 245.6 kB / 466.9 MB, free: 13.92 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.008415, allocations: 216 kB / 467.1 MB, free: 13.78 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.009124, allocations: 0.6259 MB / 467.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.009512, allocations: 247.2 kB / 468 MB, free: 12.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.01003, allocations: 348.7 kB / 468.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000358/0.01039, allocations: 207.9 kB / 468.5 MB, free: 12.41 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.01044, allocations: 29.16 kB / 468.6 MB, free: 12.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.01062, allocations: 87.86 kB / 468.7 MB, free: 12.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01075, allocations: 135.6 kB / 468.8 MB, free: 12.17 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.01091, allocations: 132.3 kB / 468.9 MB, free: 12.04 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.01136, allocations: 362.6 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01137, allocations: 0.7188 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.01137, allocations: 3.984 kB / 469.3 MB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01137, allocations: 0.5 kB / 469.3 MB, free: 11.68 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008369/0.01221, allocations: 0.6136 MB / 469.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.01224, allocations: 8.75 kB / 469.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006208/0.01287, allocations: 137.5 kB / 470 MB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/0.01337, allocations: 334.2 kB / 470.4 MB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.0134, allocations: 25.55 kB / 470.4 MB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.01346, allocations: 38.48 kB / 470.4 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.014, allocations: 486.6 kB / 470.9 MB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01401, allocations: 0 / 470.9 MB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.01405, allocations: 15.98 kB / 470.9 MB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.7e-05/0.01412, allocations: 44.62 kB / 471 MB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.01438, allocations: 147.5 kB / 471.1 MB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.01631, allocations: 2.359 MB / 473.5 MB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.01667, allocations: 201 kB / 473.7 MB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.01678, allocations: 62.02 kB / 473.7 MB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.0168, allocations: 4.781 kB / 473.7 MB, free: 7.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.01683, allocations: 30.56 kB / 473.8 MB, free: 6.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.01683, allocations: 1.969 kB / 473.8 MB, free: 6.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.0009563/0.01779, allocations: 377 kB / 474.1 MB, free: 6.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.01781, allocations: 55.64 kB / 474.2 MB, free: 6.539 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.01806, allocations: 319.2 kB / 474.5 MB, free: 6.215 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.01808, allocations: 25.7 kB / 474.5 MB, free: 6.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.0182, allocations: 228.7 kB / 474.7 MB, free: 5.957 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.01826, allocations: 95.16 kB / 474.8 MB, free: 5.863 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01838, allocations: 78.98 kB / 474.9 MB, free: 5.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.01849, allocations: 354.6 kB / 475.3 MB, free: 5.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.01858, allocations: 38.77 kB / 475.3 MB, free: 5.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01875, allocations: 195.2 kB / 475.5 MB, free: 5.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01897, allocations: 275.7 kB / 475.8 MB, free: 4.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01897, allocations: 1 kB / 475.8 MB, free: 4.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003304/0.0193, allocations: 318.7 kB / 476.1 MB, free: 4.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01931, allocations: 9.469 kB / 476.1 MB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01932, allocations: 4 kB / 476.1 MB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.01946, allocations: 67.69 kB / 476.1 MB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.01962, allocations: 81.27 kB / 476.2 MB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.01963, allocations: 8.703 kB / 476.2 MB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01974, allocations: 20.48 kB / 476.3 MB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01975, allocations: 12 kB / 476.3 MB, free: 4.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01987, allocations: 142.3 kB / 476.4 MB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01991, allocations: 35.91 kB / 476.4 MB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.02017, allocations: 225.6 kB / 476.7 MB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.02018, allocations: 4.5 kB / 476.7 MB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.02018, allocations: 8.5 kB / 476.7 MB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02018, allocations: 3.984 kB / 476.7 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.02066, allocations: 0.5128 MB / 477.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.02066, allocations: 1.438 kB / 477.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.02077, allocations: 44.78 kB / 477.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.02087, allocations: 64.97 kB / 477.3 MB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.02088, allocations: 4 kB / 477.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.02089, allocations: 4 kB / 477.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02089, allocations: 3.938 kB / 477.3 MB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.02114, allocations: 368.8 kB / 477.7 MB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.0212, allocations: 52.25 kB / 477.7 MB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.02123, allocations: 8 kB / 477.7 MB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.02131, allocations: 16.77 kB / 477.7 MB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.02135, allocations: 26.05 kB / 477.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.02136, allocations: 5 kB / 477.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.02143, allocations: 120.7 kB / 477.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02143, allocations: 0 / 477.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.02167, allocations: 90.78 kB / 478 MB, free: 2.449 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.344e-05/0.02175, allocations: 88.34 kB / 478.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.022, allocations: 207.2 kB / 478.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.02201, allocations: 4.75 kB / 478.3 MB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.02212, allocations: 112.4 kB / 478.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.02246, allocations: 128.6 kB / 478.5 MB, free: 1.914 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.0232, allocations: 0.6665 MB / 479.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.537e-05/0.02326, allocations: 120.3 kB / 479.3 MB, free: 1.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.02337, allocations: 48.64 kB / 479.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.02353, allocations: 137.3 kB / 479.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02353, allocations: 0 / 479.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of Templates: time 0.006342/0.02988, allocations: 5.118 MB / 484.6 MB, free: 12.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4205128019675612]