Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008855/0.0008855, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.001506/0.001506, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9584/0.9584, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7867/0.7867, allocations: 203.8 MB / 0.5042 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [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.0009417/0.0009417, allocations: 70.77 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4843, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003965/0.4883, allocations: 3.618 MB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.4906, allocations: 1.768 MB / 0.823 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.4909, allocations: 20.19 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.4917, allocations: 271.3 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.4923, allocations: 309.2 kB / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.4928, allocations: 244 kB / 0.8238 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000637/0.4935, allocations: 0.6092 MB / 0.8244 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.4939, allocations: 230.9 kB / 0.8247 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.4943, allocations: 263.3 kB / 0.8249 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4946, allocations: 225.2 kB / 0.8251 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.4946, allocations: 27.22 kB / 0.8252 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.495, allocations: 241.1 kB / 0.8254 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.4952, allocations: 125.7 kB / 0.8255 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.4954, allocations: 180 kB / 0.8257 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.4961, allocations: 0.5932 MB / 0.8263 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.4961, allocations: 5.125 kB / 0.8263 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4961, allocations: 0 / 0.8263 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4961, allocations: 0 / 0.8263 GB, free: 12.02 MB / 0.6198 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.00104/0.4972, allocations: 0.6698 MB / 0.8269 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4972, allocations: 10.36 kB / 0.8269 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.792e-05/0.4973, allocations: 74.53 kB / 0.827 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.4979, allocations: 137.9 kB / 0.8271 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.4984, allocations: 345 kB / 0.8275 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.4984, allocations: 20.62 kB / 0.8275 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.4985, allocations: 32.86 kB / 0.8275 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.4992, allocations: 0.6269 MB / 0.8281 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.4993, allocations: 14.3 kB / 0.8281 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.4993, allocations: 17.28 kB / 0.8282 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.4994, allocations: 41.69 kB / 0.8282 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.5, allocations: 402.5 kB / 0.8286 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.5024, allocations: 2.755 MB / 0.8313 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.503, allocations: 307.6 kB / 0.8316 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.5034, allocations: 169 kB / 0.8317 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.5034, allocations: 2.812 kB / 0.8317 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5034, allocations: 33.45 kB / 0.8318 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.126e-06/0.5034, allocations: 0.6562 kB / 0.8318 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001911/0.5053, allocations: 0.846 MB / 0.8326 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.5054, allocations: 54.27 kB / 0.8326 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5057, allocations: 345.1 kB / 0.833 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5057, allocations: 31.86 kB / 0.833 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.5058, allocations: 250 kB / 0.8332 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.5059, allocations: 103.8 kB / 0.8333 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.506, allocations: 73.69 kB / 0.8334 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5061, allocations: 352.1 kB / 0.8337 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.5063, allocations: 146.5 kB / 0.8339 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.5065, allocations: 294.1 kB / 0.8342 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.507, allocations: 482.6 kB / 0.8346 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.507, allocations: 2.438 kB / 0.8346 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00072/0.5078, allocations: 0.5656 MB / 0.8352 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5078, allocations: 7.5 kB / 0.8352 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5078, allocations: 4.344 kB / 0.8352 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.508, allocations: 92.14 kB / 0.8353 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.5082, allocations: 92.12 kB / 0.8354 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5082, allocations: 11.67 kB / 0.8354 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.5084, allocations: 29.06 kB / 0.8354 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5084, allocations: 19.88 kB / 0.8354 GB, free: 5.816 MB / 0.6198 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.0001626/0.5086, allocations: 174.7 kB / 0.8356 GB, free: 5.668 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.5086, allocations: 38.86 kB / 0.8356 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.5093, allocations: 467.8 kB / 0.8361 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5093, allocations: 8.219 kB / 0.8361 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5093, allocations: 0 / 0.8361 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5093, allocations: 2.859 kB / 0.8361 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.5104, allocations: 0.8915 MB / 0.8369 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5104, allocations: 1.188 kB / 0.8369 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.5105, allocations: 49.75 kB / 0.837 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.5106, allocations: 87.38 kB / 0.8371 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.5107, allocations: 6.344 kB / 0.8371 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.5107, allocations: 2.891 kB / 0.8371 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5107, allocations: 5 kB / 0.8371 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.5112, allocations: 0.5426 MB / 0.8376 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5113, allocations: 62.75 kB / 0.8377 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.5114, allocations: 10.78 kB / 0.8377 GB, free: 4.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5115, allocations: 25.7 kB / 0.8377 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.5116, allocations: 29.05 kB / 0.8377 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5116, allocations: 8.938 kB / 0.8378 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001804/0.5117, allocations: 235.3 kB / 0.838 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5117, allocations: 0 / 0.838 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003128/0.5121, allocations: 84.28 kB / 0.8381 GB, free: 4.363 MB / 0.6198 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.0007661/0.5128, allocations: 1.1 MB / 0.8391 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.5134, allocations: 401.7 kB / 0.8395 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5134, allocations: 2.688 kB / 0.8395 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.5137, allocations: 203 kB / 0.8397 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5141, allocations: 123.8 kB / 0.8398 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.5174, allocations: 3.723 MB / 0.8435 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.5176, allocations: 231.3 kB / 0.8437 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.5178, allocations: 83.16 kB / 0.8438 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.5179, allocations: 128.8 kB / 0.8439 GB, free: 444 kB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.5179, allocations: 0 / 0.8439 GB, free: 444 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.541, allocations: 9.344 MB / 0.853 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.737, allocations: 6.938 kB / 0.853 GB, free: 11.71 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.709511482156813] Failed to read output from testmodel.py, exit status != 0: 7.822789788246155 7.834371086 7.336350522 Calling exit ...