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.00175/0.00175, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001478/0.001478, allocations: 221 kB / 23 MB, free: 4.918 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.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.00277/0.00277, allocations: 295.3 kB / 313.5 MB, free: 2.629 MB / 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.3/1.3, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 99.11 kB / 0.7407 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2064, allocations: 95.38 MB / 0.8339 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005734/0.2121, allocations: 3.619 MB / 0.8374 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.2153, allocations: 1.75 MB / 0.8391 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.2155, allocations: 23.75 kB / 0.8391 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009401/0.2164, allocations: 270.6 kB / 0.8394 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.2171, allocations: 318.4 kB / 0.8397 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.2177, allocations: 245.7 kB / 0.8399 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.2184, allocations: 0.6091 MB / 0.8405 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.2188, allocations: 226.5 kB / 0.8407 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.2192, allocations: 259.1 kB / 0.841 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.2196, allocations: 234.9 kB / 0.8412 GB, free: 288 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.2197, allocations: 27.98 kB / 0.8412 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.2201, allocations: 235.4 kB / 0.8415 GB, free: 24 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.2202, allocations: 127.6 kB / 0.8416 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2204, allocations: 171.1 kB / 0.8418 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.2212, allocations: 0.5875 MB / 0.8423 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2212, allocations: 3.938 kB / 0.8423 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2212, allocations: 0 / 0.8423 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.2212, allocations: 4 kB / 0.8423 GB, free: 15.13 MB / 0.5919 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.00126/0.2224, allocations: 0.6765 MB / 0.843 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2225, allocations: 9.938 kB / 0.843 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.2234, allocations: 144.5 kB / 0.8431 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.224, allocations: 345.3 kB / 0.8435 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.224, allocations: 21.03 kB / 0.8435 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2241, allocations: 32.36 kB / 0.8435 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.225, allocations: 0.6303 MB / 0.8441 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2251, allocations: 3.938 kB / 0.8441 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.2251, allocations: 12 kB / 0.8442 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/0.2252, allocations: 44.62 kB / 0.8442 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.2259, allocations: 410.1 kB / 0.8446 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.2291, allocations: 2.691 MB / 0.8472 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.2298, allocations: 308.9 kB / 0.8475 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.2301, allocations: 164.7 kB / 0.8477 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2301, allocations: 11.88 kB / 0.8477 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.2302, allocations: 34.56 kB / 0.8477 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.2302, allocations: 0 / 0.8477 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002037/0.2322, allocations: 0.853 MB / 0.8485 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.2323, allocations: 51.64 kB / 0.8486 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.2326, allocations: 329.5 kB / 0.8489 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2327, allocations: 29.7 kB / 0.8489 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.2328, allocations: 256 kB / 0.8492 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.2329, allocations: 95.2 kB / 0.8493 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.233, allocations: 82.05 kB / 0.8493 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2332, allocations: 342.8 kB / 0.8497 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.2335, allocations: 148.8 kB / 0.8498 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.2339, allocations: 298.4 kB / 0.8501 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.2346, allocations: 482.3 kB / 0.8506 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2346, allocations: 0 / 0.8506 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001005/0.2356, allocations: 0.5585 MB / 0.8511 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.2356, allocations: 12 kB / 0.8511 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2357, allocations: 4 kB / 0.8511 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000314/0.236, allocations: 82.52 kB / 0.8512 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.2363, allocations: 91.81 kB / 0.8513 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2363, allocations: 8 kB / 0.8513 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.2366, allocations: 31.91 kB / 0.8513 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2366, allocations: 19.94 kB / 0.8513 GB, free: 5.414 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.000211/0.2368, allocations: 178.3 kB / 0.8515 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.2369, allocations: 43.72 kB / 0.8516 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008949/0.2378, allocations: 464.4 kB / 0.852 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2378, allocations: 0 / 0.852 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.2378, allocations: 4 kB / 0.852 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2378, allocations: 3.984 kB / 0.852 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2393, allocations: 0.8459 MB / 0.8528 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2393, allocations: 4 kB / 0.8528 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.2395, allocations: 47.95 kB / 0.8529 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.2397, allocations: 90.38 kB / 0.853 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2397, allocations: 8 kB / 0.853 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2397, allocations: 0 / 0.853 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2398, allocations: 4.094 kB / 0.853 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.2406, allocations: 0.5392 MB / 0.8535 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.2408, allocations: 67.69 kB / 0.8536 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.2408, allocations: 0 / 0.8536 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.241, allocations: 23.97 kB / 0.8536 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.2411, allocations: 27.89 kB / 0.8536 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.2411, allocations: 8 kB / 0.8536 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002305/0.2414, allocations: 227.1 kB / 0.8538 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2414, allocations: 0 / 0.8538 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004045/0.2418, allocations: 88 kB / 0.8539 GB, free: 2.645 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.0001537/0.2419, allocations: 107.2 kB / 0.854 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008314/0.2428, allocations: 399.1 kB / 0.8544 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2428, allocations: 0 / 0.8544 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.2431, allocations: 198.3 kB / 0.8546 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2438, allocations: 128.6 kB / 0.8547 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2451, allocations: 0.7715 MB / 0.8555 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2453, allocations: 224.1 kB / 0.8557 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.2454, allocations: 31.44 kB / 0.8557 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.2454, allocations: 0 / 0.8557 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of Templates: time 0.01315/0.2586, allocations: 9.567 MB / 0.8651 GB, free: 7.188 MB / 0.6075 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.923285107128322] Failed to read output from testmodel.py, exit status != 0: 0.2669525700621307 0.282996897 0.058608205000000003 Calling exit ...