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.0008839/0.0008839, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001061/0.001061, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9299/0.9299, 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.7429/0.7429, allocations: 154.6 MB / 413.7 MB, free: 0.8438 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 2.094e-06/2.094e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.416e-05, allocations: 8.984 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004692/0.004716, allocations: 4.552 MB / 0.6225 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.007986, allocations: 2.381 MB / 0.6248 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.008338, allocations: 35.62 kB / 0.6249 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009568/0.009295, allocations: 405.8 kB / 0.6252 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009622/0.01026, allocations: 485.2 kB / 0.6257 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.01103, allocations: 378.5 kB / 0.6261 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0009182/0.01195, allocations: 0.9408 MB / 0.627 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004755/0.01243, allocations: 322.4 kB / 0.6273 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.01303, allocations: 490.7 kB / 0.6278 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.01339, allocations: 307 kB / 0.6281 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.01344, allocations: 40 kB / 0.6281 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005159/0.01395, allocations: 374.8 kB / 0.6284 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.01412, allocations: 195.4 kB / 0.6286 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.01429, allocations: 207.4 kB / 0.6288 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.01535, allocations: 0.8956 MB / 0.6297 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01535, allocations: 4 kB / 0.6297 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.966e-06/0.01535, allocations: 0 / 0.6297 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.01537, allocations: 0 / 0.6297 GB, free: 1.777 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.001586/0.01696, allocations: 0.8741 MB / 0.6306 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.01701, allocations: 9.469 kB / 0.6306 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.01709, allocations: 98.67 kB / 0.6307 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/0.01788, allocations: 212.2 kB / 0.6309 GB, free: 0.5469 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.01853, allocations: 480 kB / 0.6313 GB, free: 60 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.01856, allocations: 37.36 kB / 0.6314 GB, free: 24 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.01865, allocations: 44.45 kB / 0.6314 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.01965, allocations: 0.9665 MB / 0.6323 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.01968, allocations: 8.125 kB / 0.6324 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.01972, allocations: 28.11 kB / 0.6324 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/0.01981, allocations: 64.95 kB / 0.6324 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.02051, allocations: 0.5616 MB / 0.633 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.02378, allocations: 4.708 MB / 0.6376 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.02425, allocations: 426.2 kB / 0.638 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.02446, allocations: 200.7 kB / 0.6382 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.02448, allocations: 4 kB / 0.6382 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.02451, allocations: 30.56 kB / 0.6382 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.02452, allocations: 4 kB / 0.6382 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00175/0.02627, allocations: 1.134 MB / 0.6393 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.0263, allocations: 59.62 kB / 0.6394 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.0267, allocations: 0.5027 MB / 0.6399 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.02673, allocations: 29.7 kB / 0.6399 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.02692, allocations: 363.8 kB / 0.6403 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.02699, allocations: 126.9 kB / 0.6404 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.02709, allocations: 110.2 kB / 0.6405 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.02721, allocations: 366.7 kB / 0.6408 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.0274, allocations: 197.2 kB / 0.641 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.0277, allocations: 447.3 kB / 0.6414 GB, free: 5.137 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.02826, allocations: 0.6926 MB / 0.6421 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.02827, allocations: 4 kB / 0.6421 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008315/0.0291, allocations: 0.8093 MB / 0.6429 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.02912, allocations: 8 kB / 0.6429 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.02916, allocations: 12 kB / 0.6429 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.02949, allocations: 148.8 kB / 0.6431 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.02976, allocations: 127.7 kB / 0.6432 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.03192, allocations: 4.022 MB / 0.6471 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.03215, allocations: 39.97 kB / 0.6472 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.03218, allocations: 28 kB / 0.6472 GB, free: 14.75 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.0002011/0.03238, allocations: 219.5 kB / 0.6474 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.03243, allocations: 59.62 kB / 0.6475 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.03306, allocations: 0.5929 MB / 0.648 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.03306, allocations: 4 kB / 0.648 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.03307, allocations: 4 kB / 0.648 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03307, allocations: 3.984 kB / 0.648 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.03422, allocations: 1.175 MB / 0.6492 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.03422, allocations: 0 / 0.6492 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.03435, allocations: 59.89 kB / 0.6493 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.03458, allocations: 140.2 kB / 0.6494 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.03459, allocations: 8 kB / 0.6494 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.03649, allocations: 4.022 MB / 0.6533 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.105e-05/0.03656, allocations: 4 kB / 0.6533 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.03717, allocations: 0.7052 MB / 0.654 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.03729, allocations: 95.52 kB / 0.6541 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.03732, allocations: 8 kB / 0.6541 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.03746, allocations: 27.97 kB / 0.6541 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.03751, allocations: 39.97 kB / 0.6542 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.03753, allocations: 12 kB / 0.6542 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002261/0.03775, allocations: 334.8 kB / 0.6545 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.03775, allocations: 0 / 0.6545 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004347/0.03819, allocations: 136 kB / 0.6546 GB, free: 6.594 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.0007978/0.03899, allocations: 1.257 MB / 0.6559 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008331/0.03982, allocations: 0.8585 MB / 0.6567 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.03982, allocations: 4 kB / 0.6567 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.04035, allocations: 0.5717 MB / 0.6573 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.04092, allocations: 204.8 kB / 0.6575 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.04493, allocations: 5.099 MB / 0.6624 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.04513, allocations: 311.5 kB / 0.6627 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.04535, allocations: 117.3 kB / 0.6629 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.04551, allocations: 192.4 kB / 0.663 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.04551, allocations: 0 / 0.663 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2842/0.3297, allocations: 14.24 MB / 0.6769 GB, free: 97.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.72, allocations: 11.48 kB / 0.677 GB, free: 97.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.519303989596665] Failed to read output from testmodel.py, exit status != 0: 7.818213453516364 7.829006651 7.8114135970000005 Calling exit ...