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.001564/0.001564, allocations: 83.44 kB / 19.02 MB, free: 2.719 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.001625/0.001625, allocations: 159.6 kB / 22.26 MB, free: 4.715 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.445/1.445, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.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.002409/0.002409, allocations: 222.1 kB / 259.2 MB, free: 0.5977 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.076/1.076, allocations: 138.5 MB / 454.2 MB, free: 2.047 MB / 366.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.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: 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.003026/0.003026, allocations: 103.8 kB / 0.6466 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.401, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005315/0.4063, allocations: 3.212 MB / 0.7428 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.41, allocations: 1.976 MB / 0.7448 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.4102, allocations: 7.938 kB / 0.7448 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.4112, allocations: 294.8 kB / 0.7451 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006568/0.4119, allocations: 238.9 kB / 0.7453 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.4126, allocations: 294.7 kB / 0.7456 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.4132, allocations: 410.7 kB / 0.746 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.4136, allocations: 168.2 kB / 0.7461 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.414, allocations: 227.4 kB / 0.7463 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.4145, allocations: 195.3 kB / 0.7465 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.4145, allocations: 24 kB / 0.7466 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.415, allocations: 255.5 kB / 0.7468 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.4152, allocations: 123.6 kB / 0.7469 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.4154, allocations: 119.5 kB / 0.747 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008576/0.4163, allocations: 499.6 kB / 0.7475 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4163, allocations: 0 / 0.7475 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4163, allocations: 0 / 0.7475 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.4163, allocations: 0 / 0.7475 GB, free: 7.223 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001214/0.4175, allocations: 0.5284 MB / 0.748 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4175, allocations: 25.27 kB / 0.748 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4186, allocations: 108.6 kB / 0.7481 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.419, allocations: 229 kB / 0.7484 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.419, allocations: 20.86 kB / 0.7484 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4191, allocations: 36.69 kB / 0.7484 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/0.42, allocations: 0.5297 MB / 0.7489 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.42, allocations: 3.938 kB / 0.7489 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.42, allocations: 11.98 kB / 0.749 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.4202, allocations: 40.47 kB / 0.749 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006635/0.4208, allocations: 365.6 kB / 0.7493 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.4233, allocations: 1.582 MB / 0.7509 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.4237, allocations: 246.4 kB / 0.7511 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.4239, allocations: 144.8 kB / 0.7513 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.424, allocations: 0 / 0.7513 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.424, allocations: 42.5 kB / 0.7513 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.424, allocations: 4 kB / 0.7513 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001811/0.4258, allocations: 0.906 MB / 0.7522 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4258, allocations: 51.41 kB / 0.7522 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.4262, allocations: 247.1 kB / 0.7525 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.4262, allocations: 37.64 kB / 0.7525 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4263, allocations: 200.3 kB / 0.7527 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.4264, allocations: 83.33 kB / 0.7528 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.4266, allocations: 77.62 kB / 0.7529 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4267, allocations: 330.8 kB / 0.7532 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.427, allocations: 159.9 kB / 0.7533 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.4274, allocations: 239 kB / 0.7535 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.428, allocations: 414.8 kB / 0.7539 GB, free: 292 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.428, allocations: 4 kB / 0.7539 GB, free: 288 kB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0013/0.4293, allocations: 0.5924 MB / 0.7545 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4293, allocations: 8.312 kB / 0.7545 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4294, allocations: 4 kB / 0.7545 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007439/0.4301, allocations: 184.7 kB / 0.7547 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.4304, allocations: 67.89 kB / 0.7548 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.4336, allocations: 2.351 MB / 0.7571 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.434, allocations: 32.08 kB / 0.7571 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4341, allocations: 19.94 kB / 0.7571 GB, free: 12.91 MB / 0.5919 GB 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 0.0002413/0.4343, allocations: 165.7 kB / 0.7573 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.4344, allocations: 23.8 kB / 0.7573 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006549/0.435, allocations: 357.2 kB / 0.7576 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.435, allocations: 0 / 0.7576 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.435, allocations: 4 kB / 0.7576 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4351, allocations: 3.984 kB / 0.7577 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.4364, allocations: 0.7015 MB / 0.7583 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.4364, allocations: 3.938 kB / 0.7583 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4369, allocations: 71.94 kB / 0.7584 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.4369, allocations: 0 / 0.7584 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.4369, allocations: 11.94 kB / 0.7584 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4369, allocations: 4 kB / 0.7584 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4369, allocations: 4.062 kB / 0.7584 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.438, allocations: 0.6126 MB / 0.759 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.4381, allocations: 51.88 kB / 0.7591 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.4382, allocations: 8 kB / 0.7591 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4385, allocations: 11.98 kB / 0.7591 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4385, allocations: 15.97 kB / 0.7591 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.4385, allocations: 8 kB / 0.7591 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002575/0.4388, allocations: 178.3 kB / 0.7593 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4388, allocations: 0 / 0.7593 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004846/0.4393, allocations: 96 kB / 0.7594 GB, free: 10.54 MB / 0.5919 GB 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 0.0002007/0.4395, allocations: 107.1 kB / 0.7595 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.4406, allocations: 0.5259 MB / 0.76 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4406, allocations: 4 kB / 0.76 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.4409, allocations: 131.9 kB / 0.7601 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.4413, allocations: 50.84 kB / 0.7602 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4431, allocations: 0.8397 MB / 0.761 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.4433, allocations: 193.8 kB / 0.7612 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.4435, allocations: 66.23 kB / 0.7612 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.4436, allocations: 28.5 kB / 0.7613 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.4436, allocations: 0 / 0.7613 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of Templates: time 0.009069/0.4527, allocations: 4.183 MB / 0.7654 GB, free: 4.418 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9464295618236065] Failed to read output from testmodel.py, exit status != 0: 0.4613135177642107 0.475898225 0.056398955 Calling exit ...