Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0008016/0.0008016, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008318/0.0008318, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8747/0.8747, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7062/0.7062, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.491e-05, allocations: 2.281 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004146/0.004161, allocations: 4.553 MB / 0.6225 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.0065, allocations: 2.381 MB / 0.6248 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.006679, allocations: 35.62 kB / 0.6248 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/0.007356, allocations: 405.8 kB / 0.6252 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005222/0.007878, allocations: 489.1 kB / 0.6257 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.008275, allocations: 373.8 kB / 0.6261 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.008854, allocations: 0.9486 MB / 0.627 GB, free: 4.539 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.009194, allocations: 314.5 kB / 0.6273 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006734/0.009867, allocations: 494.6 kB / 0.6278 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.01017, allocations: 311 kB / 0.6281 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.01021, allocations: 36 kB / 0.6281 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.01056, allocations: 374.9 kB / 0.6284 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.0107, allocations: 191.4 kB / 0.6286 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.01084, allocations: 211.4 kB / 0.6288 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.01147, allocations: 0.8995 MB / 0.6297 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01147, allocations: 4 kB / 0.6297 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01147, allocations: 0 / 0.6297 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.01148, allocations: 0 / 0.6297 GB, free: 1.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008657/0.01234, allocations: 0.8779 MB / 0.6306 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.01238, allocations: 13.47 kB / 0.6306 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.01245, allocations: 94.69 kB / 0.6307 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006673/0.01312, allocations: 204.3 kB / 0.6309 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.01363, allocations: 476.1 kB / 0.6313 GB, free: 20 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.01366, allocations: 37.3 kB / 0.6314 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.01371, allocations: 44.38 kB / 0.6314 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.01443, allocations: 0.9705 MB / 0.6323 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.01445, allocations: 12.12 kB / 0.6324 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.01448, allocations: 28.11 kB / 0.6324 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.01454, allocations: 60.95 kB / 0.6324 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.01507, allocations: 0.5656 MB / 0.633 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.01768, allocations: 4.708 MB / 0.6376 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.01809, allocations: 422.2 kB / 0.638 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.01828, allocations: 200.7 kB / 0.6382 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.0183, allocations: 7.984 kB / 0.6382 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.01832, allocations: 30.56 kB / 0.6382 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.01832, allocations: 4 kB / 0.6382 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001404/0.01972, allocations: 1.13 MB / 0.6393 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.01975, allocations: 59.62 kB / 0.6394 GB, free: 7.348 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.02008, allocations: 0.5067 MB / 0.6399 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.02009, allocations: 29.7 kB / 0.6399 GB, free: 6.797 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.02025, allocations: 359.8 kB / 0.6403 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.02031, allocations: 127 kB / 0.6404 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.02039, allocations: 106.2 kB / 0.6405 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.02049, allocations: 370.8 kB / 0.6408 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.02067, allocations: 193.2 kB / 0.641 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.02095, allocations: 451.3 kB / 0.6414 GB, free: 5.094 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.02169, allocations: 0.6965 MB / 0.6421 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.02169, allocations: 4 kB / 0.6421 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007491/0.02244, allocations: 0.8018 MB / 0.6429 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.02245, allocations: 12 kB / 0.6429 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.02246, allocations: 8 kB / 0.6429 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/0.02274, allocations: 152.5 kB / 0.6431 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.02298, allocations: 123.8 kB / 0.6432 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.02489, allocations: 4.026 MB / 0.6471 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.02507, allocations: 39.91 kB / 0.6472 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.02509, allocations: 28 kB / 0.6472 GB, free: 14.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.02526, allocations: 219.4 kB / 0.6474 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.02531, allocations: 59.62 kB / 0.6475 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006086/0.02592, allocations: 0.6007 MB / 0.648 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02592, allocations: 4 kB / 0.648 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.02592, allocations: 0 / 0.648 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.02592, allocations: 0 / 0.648 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.02721, allocations: 1.176 MB / 0.6492 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.02721, allocations: 12.03 kB / 0.6492 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.02734, allocations: 55.89 kB / 0.6493 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002125/0.02755, allocations: 140.2 kB / 0.6494 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.02757, allocations: 4 kB / 0.6494 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.02929, allocations: 4.018 MB / 0.6533 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.02929, allocations: 4.031 kB / 0.6533 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.02988, allocations: 0.709 MB / 0.654 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.02999, allocations: 87.55 kB / 0.6541 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.03003, allocations: 11.98 kB / 0.6541 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.03016, allocations: 27.97 kB / 0.6541 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.0302, allocations: 31.89 kB / 0.6542 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.03021, allocations: 12 kB / 0.6542 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002148/0.03043, allocations: 342.7 kB / 0.6545 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.03043, allocations: 4.094 kB / 0.6545 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003671/0.0308, allocations: 140 kB / 0.6546 GB, free: 6.547 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/0.03188, allocations: 1.241 MB / 0.6559 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007687/0.03265, allocations: 0.8741 MB / 0.6567 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.03265, allocations: 4.125 kB / 0.6567 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.03305, allocations: 0.5717 MB / 0.6573 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.0336, allocations: 206.1 kB / 0.6575 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.03774, allocations: 5.085 MB / 0.6624 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.03794, allocations: 307.6 kB / 0.6627 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000204/0.03815, allocations: 121.3 kB / 0.6628 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.03832, allocations: 204.3 kB / 0.663 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.03832, allocations: 0 / 0.663 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2639/0.3022, allocations: 14.24 MB / 0.6769 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.751, allocations: 8.969 kB / 0.677 GB, free: 97.23 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_TestImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.464219038374722] Failed to read output from testmodel.py, exit status != 0: 7.8389410469681025 7.850781007 7.837254828 Calling exit ...