Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.0008396/0.0008396, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0007903/0.0007903, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9101/0.9101, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7169/0.7169, allocations: 154.7 MB / 414.7 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: IDEAS 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.001015/0.001015, allocations: 71.89 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5006, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003549/0.5041, allocations: 2.977 MB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.5069, allocations: 1.856 MB / 0.7238 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.5071, allocations: 8.469 kB / 0.7238 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.508, allocations: 233.4 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.5087, allocations: 224.3 kB / 0.7243 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.5095, allocations: 265.6 kB / 0.7245 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.51, allocations: 404.2 kB / 0.7249 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.5104, allocations: 172.7 kB / 0.7251 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005553/0.511, allocations: 232.7 kB / 0.7253 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000468/0.5115, allocations: 186.6 kB / 0.7255 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.5115, allocations: 30.3 kB / 0.7255 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.5121, allocations: 270.8 kB / 0.7258 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.5123, allocations: 105.7 kB / 0.7259 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.5124, allocations: 118.1 kB / 0.726 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009344/0.5133, allocations: 0.5487 MB / 0.7265 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5134, allocations: 1.562 kB / 0.7265 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5134, allocations: 0 / 0.7265 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.5134, allocations: 0 / 0.7265 GB, free: 19.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00116/0.5145, allocations: 0.5919 MB / 0.7271 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.5146, allocations: 12.77 kB / 0.7271 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.5153, allocations: 128.9 kB / 0.7272 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.5156, allocations: 231.9 kB / 0.7274 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.5156, allocations: 16.86 kB / 0.7275 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.5157, allocations: 24.14 kB / 0.7275 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.5164, allocations: 462.5 kB / 0.7279 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5164, allocations: 1.766 kB / 0.7279 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.5164, allocations: 6.438 kB / 0.7279 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.5164, allocations: 26.62 kB / 0.728 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.5171, allocations: 403.7 kB / 0.7283 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.5183, allocations: 1.26 MB / 0.7296 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.5191, allocations: 455.2 kB / 0.73 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.5194, allocations: 185 kB / 0.7302 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/0.5195, allocations: 11.62 kB / 0.7302 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.52, allocations: 310.9 kB / 0.7305 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/0.52, allocations: 3.984 kB / 0.7305 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.001363/0.5214, allocations: 0.6994 MB / 0.7312 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5214, allocations: 81.75 kB / 0.7313 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.5216, allocations: 226.5 kB / 0.7315 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.5216, allocations: 33.11 kB / 0.7315 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.5217, allocations: 168.9 kB / 0.7317 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.5217, allocations: 103.9 kB / 0.7318 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.5218, allocations: 67.7 kB / 0.7318 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.5218, allocations: 337.2 kB / 0.7322 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.5222, allocations: 211.4 kB / 0.7324 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.5225, allocations: 290.2 kB / 0.7326 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.5231, allocations: 476 kB / 0.7331 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5231, allocations: 1.312 kB / 0.7331 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007697/0.5238, allocations: 0.5872 MB / 0.7337 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.5239, allocations: 36.84 kB / 0.7337 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5239, allocations: 5.312 kB / 0.7337 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.5241, allocations: 43.94 kB / 0.7337 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.5243, allocations: 90.22 kB / 0.7338 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008525/0.5252, allocations: 1.488 MB / 0.7353 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.5254, allocations: 50.42 kB / 0.7353 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.5254, allocations: 16.81 kB / 0.7353 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003325/0.5257, allocations: 320.1 kB / 0.7357 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002965/0.526, allocations: 272.5 kB / 0.7359 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005498/0.5266, allocations: 469.4 kB / 0.7364 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.5266, allocations: 5.406 kB / 0.7364 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007339/0.5273, allocations: 0.555 MB / 0.7369 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5273, allocations: 33.3 kB / 0.7369 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.5273, allocations: 6.875 kB / 0.7369 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.5274, allocations: 42.78 kB / 0.737 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.5277, allocations: 89.55 kB / 0.7371 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007678/0.5285, allocations: 1.481 MB / 0.7385 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.5286, allocations: 52.73 kB / 0.7386 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.5287, allocations: 12.14 kB / 0.7386 GB, free: 11.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5288, allocations: 211.7 kB / 0.7388 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5288, allocations: 25.14 kB / 0.7388 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.5295, allocations: 473.6 kB / 0.7393 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5295, allocations: 3.234 kB / 0.7393 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5295, allocations: 3.938 kB / 0.7393 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.5296, allocations: 50.62 kB / 0.7393 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.5297, allocations: 12.55 kB / 0.7393 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.5298, allocations: 44.19 kB / 0.7394 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.5299, allocations: 38.81 kB / 0.7394 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007202/0.5306, allocations: 0.6 MB / 0.74 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008462/0.5315, allocations: 0.8448 MB / 0.7408 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002653/0.5318, allocations: 180.2 kB / 0.741 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001485/0.5319, allocations: 180.1 kB / 0.7412 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of Backend: time 6.81e-07/0.5319, allocations: 4 kB / 0.7412 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.5336, allocations: 1.087 MB / 0.7422 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008252/0.5344, allocations: 0.976 MB / 0.7432 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of Templates: time 0.01183/0.5462, allocations: 8.561 MB / 0.7515 GB, free: 6.352 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4389566199388355] Failed to read output from testmodel.py, exit status != 0: 0.5526238451711833 0.561809937 0.046375304000000006 Calling exit ...