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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 283.1 kB / 303.6 MB, free: 3.727 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 180.9 MB / 0.5268 GB, free: 2.715 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002832/0.002832, allocations: 103.8 kB / 0.7259 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5866/0.5894, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00452/0.5939, allocations: 3.778 MB / 0.8216 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.5966, allocations: 1.815 MB / 0.8233 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.5968, allocations: 18.38 kB / 0.8233 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008255/0.5976, allocations: 266.3 kB / 0.8236 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.5983, allocations: 308.1 kB / 0.8239 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.5988, allocations: 250.1 kB / 0.8241 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.5994, allocations: 0.6072 MB / 0.8247 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.5997, allocations: 215.3 kB / 0.8249 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.6, allocations: 240.8 kB / 0.8252 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.6003, allocations: 248 kB / 0.8254 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.6004, allocations: 24.53 kB / 0.8254 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.6008, allocations: 282.8 kB / 0.8257 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.601, allocations: 123.2 kB / 0.8258 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.6011, allocations: 210.6 kB / 0.826 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006593/0.6018, allocations: 0.5936 MB / 0.8266 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6018, allocations: 4 kB / 0.8266 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6018, allocations: 0 / 0.8266 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.6018, allocations: 4 kB / 0.8266 GB, free: 2.047 MB / 0.5762 GB 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.0009944/0.6028, allocations: 0.7468 MB / 0.8273 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6028, allocations: 11.12 kB / 0.8273 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008637/0.6037, allocations: 133.8 kB / 0.8275 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.6042, allocations: 417.2 kB / 0.8279 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6042, allocations: 20.72 kB / 0.8279 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.6042, allocations: 35.41 kB / 0.8279 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.6049, allocations: 0.5575 MB / 0.8285 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.605, allocations: 4.594 kB / 0.8285 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.605, allocations: 15.8 kB / 0.8285 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.6051, allocations: 42.03 kB / 0.8285 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006273/0.6057, allocations: 410.9 kB / 0.8289 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.6086, allocations: 3.327 MB / 0.8322 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/0.6093, allocations: 313.8 kB / 0.8325 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.6096, allocations: 161.7 kB / 0.8326 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.6096, allocations: 2.594 kB / 0.8326 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.6096, allocations: 41.12 kB / 0.8327 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.6096, allocations: 0 / 0.8327 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002137/0.6118, allocations: 1.062 MB / 0.8337 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6118, allocations: 63.12 kB / 0.8338 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.6121, allocations: 339.2 kB / 0.8341 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.6122, allocations: 30.22 kB / 0.8341 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.6124, allocations: 253.8 kB / 0.8343 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.6125, allocations: 100.3 kB / 0.8344 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6126, allocations: 78.66 kB / 0.8345 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6128, allocations: 348.6 kB / 0.8348 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.6131, allocations: 149.5 kB / 0.835 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.6134, allocations: 293.4 kB / 0.8353 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.6141, allocations: 479 kB / 0.8357 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6141, allocations: 6.906 kB / 0.8357 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001003/0.6151, allocations: 0.5559 MB / 0.8363 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6151, allocations: 8.203 kB / 0.8363 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.6152, allocations: 5.562 kB / 0.8363 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.6155, allocations: 87.81 kB / 0.8364 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.6158, allocations: 90.39 kB / 0.8365 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.6158, allocations: 12.62 kB / 0.8365 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.6161, allocations: 32.31 kB / 0.8365 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.6161, allocations: 19.84 kB / 0.8365 GB, free: 10.9 MB / 0.5919 GB 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.0002025/0.6163, allocations: 176.6 kB / 0.8367 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.6164, allocations: 43.62 kB / 0.8367 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.6173, allocations: 468.7 kB / 0.8372 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6173, allocations: 2.625 kB / 0.8372 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6173, allocations: 3.938 kB / 0.8372 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6173, allocations: 1.922 kB / 0.8372 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.6189, allocations: 0.9616 MB / 0.8381 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6189, allocations: 0.8438 kB / 0.8381 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.6191, allocations: 46.55 kB / 0.8382 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.6194, allocations: 86.28 kB / 0.8383 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.6194, allocations: 10.78 kB / 0.8383 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6194, allocations: 3.656 kB / 0.8383 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6194, allocations: 1.875 kB / 0.8383 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.6203, allocations: 0.5441 MB / 0.8388 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.6205, allocations: 139.1 kB / 0.8389 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.6205, allocations: 6.656 kB / 0.8389 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.6208, allocations: 21.44 kB / 0.839 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.6208, allocations: 27.62 kB / 0.839 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.6209, allocations: 5.438 kB / 0.839 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002625/0.6211, allocations: 239.2 kB / 0.8392 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6211, allocations: 9.062 kB / 0.8392 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004498/0.6216, allocations: 83.88 kB / 0.8393 GB, free: 9.301 MB / 0.5919 GB 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 0.0001556/0.6217, allocations: 107.2 kB / 0.8394 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000979/0.6227, allocations: 0.6129 MB / 0.84 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.6227, allocations: 0 / 0.84 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005145/0.6232, allocations: 426.2 kB / 0.8404 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.624, allocations: 126 kB / 0.8405 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.6254, allocations: 0.7749 MB / 0.8413 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.626, allocations: 0.8221 MB / 0.8421 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.6261, allocations: 32.27 kB / 0.8421 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of SimCode: time 6.32e-07/0.6261, allocations: 4 kB / 0.8421 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of Templates: time 0.01435/0.6405, allocations: 9.486 MB / 0.8514 GB, free: 4.215 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.598800970008597] Failed to read output from testmodel.py, exit status != 0: 0.648483602097258 0.661253305 0.056658637000000005 Calling exit ...