Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008384/0.0008384, 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.000818/0.000818, 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.8837/0.8837, 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 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.7292/0.7292, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.334e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004215/0.004238, allocations: 3.581 MB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.006275, allocations: 1.742 MB / 0.6233 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.006484, allocations: 19.81 kB / 0.6233 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.00711, allocations: 262.6 kB / 0.6236 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.007659, allocations: 326.1 kB / 0.6239 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.0081, allocations: 258 kB / 0.6241 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.008656, allocations: 0.6283 MB / 0.6247 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.009007, allocations: 230.5 kB / 0.625 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008069/0.009814, allocations: 339.1 kB / 0.6253 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.01005, allocations: 211.3 kB / 0.6255 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.01008, allocations: 24 kB / 0.6255 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.01039, allocations: 251.3 kB / 0.6258 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.0105, allocations: 123.6 kB / 0.6259 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.0106, allocations: 143.6 kB / 0.626 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.01109, allocations: 0.6035 MB / 0.6266 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.01109, allocations: 0 / 0.6266 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01109, allocations: 0 / 0.6266 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.0111, allocations: 0 / 0.6266 GB, free: 4.914 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008455/0.01194, allocations: 0.6664 MB / 0.6272 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.01198, allocations: 8.031 kB / 0.6273 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.655e-05/0.01204, allocations: 78.7 kB / 0.6273 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004953/0.01253, allocations: 140.5 kB / 0.6275 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.01292, allocations: 348.5 kB / 0.6278 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.01293, allocations: 21.03 kB / 0.6278 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.01297, allocations: 32.36 kB / 0.6278 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.01353, allocations: 0.627 MB / 0.6285 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01354, allocations: 4 kB / 0.6285 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.01357, allocations: 12 kB / 0.6285 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.01361, allocations: 52.5 kB / 0.6285 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.01405, allocations: 406.1 kB / 0.6289 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01576, allocations: 2.737 MB / 0.6316 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.01623, allocations: 310.4 kB / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.01666, allocations: 164.7 kB / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.01668, allocations: 0 / 0.632 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.0167, allocations: 38.5 kB / 0.6321 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.0167, allocations: 3.938 kB / 0.6321 GB, free: 15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001207/0.01791, allocations: 0.8354 MB / 0.6329 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.01794, allocations: 59.58 kB / 0.6329 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.01819, allocations: 353.5 kB / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01821, allocations: 29.7 kB / 0.6333 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01832, allocations: 252.1 kB / 0.6336 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.01837, allocations: 103.2 kB / 0.6337 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.01844, allocations: 70.16 kB / 0.6337 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.01853, allocations: 350.8 kB / 0.6341 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.0187, allocations: 148.9 kB / 0.6342 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01892, allocations: 287.2 kB / 0.6345 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.01934, allocations: 491.2 kB / 0.6349 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01934, allocations: 0 / 0.6349 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000612/0.01996, allocations: 0.5656 MB / 0.6355 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01997, allocations: 8.625 kB / 0.6355 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.01998, allocations: 4 kB / 0.6355 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.02019, allocations: 94.5 kB / 0.6356 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.02037, allocations: 83.89 kB / 0.6357 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.02038, allocations: 15.92 kB / 0.6357 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.02051, allocations: 23.97 kB / 0.6357 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.02053, allocations: 20 kB / 0.6357 GB, free: 11.05 MB / 0.6042 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.0001356/0.02067, allocations: 182.6 kB / 0.6359 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.02071, allocations: 39.77 kB / 0.6359 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.02124, allocations: 468.1 kB / 0.6364 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02124, allocations: 4 kB / 0.6364 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.02125, allocations: 0 / 0.6364 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.02125, allocations: 0 / 0.6364 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.02213, allocations: 0.8976 MB / 0.6373 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02214, allocations: 0 / 0.6373 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.02226, allocations: 47.91 kB / 0.6373 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.02239, allocations: 90.44 kB / 0.6374 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.0224, allocations: 8 kB / 0.6374 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02241, allocations: 0 / 0.6374 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02241, allocations: 0 / 0.6374 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.02291, allocations: 0.5436 MB / 0.6379 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.174e-05/0.023, allocations: 67.69 kB / 0.638 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.02303, allocations: 7.938 kB / 0.638 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.02314, allocations: 23.97 kB / 0.638 GB, free: 8.555 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.0232, allocations: 35.77 kB / 0.6381 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.02321, allocations: 4 kB / 0.6381 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001507/0.02336, allocations: 235.2 kB / 0.6383 GB, free: 8.285 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02336, allocations: 3.938 kB / 0.6383 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002705/0.02363, allocations: 84 kB / 0.6384 GB, free: 8.199 MB / 0.6042 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.0007619/0.02439, allocations: 1.085 MB / 0.6394 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.02495, allocations: 403.1 kB / 0.6398 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02495, allocations: 0 / 0.6398 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.02526, allocations: 195.5 kB / 0.64 GB, free: 6.469 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.02595, allocations: 124.8 kB / 0.6401 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.02972, allocations: 3.707 MB / 0.6438 GB, free: 2.398 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.02987, allocations: 227.7 kB / 0.644 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002103/0.03008, allocations: 83.33 kB / 0.644 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.03022, allocations: 124.5 kB / 0.6442 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of SimCode: time 1.312e-06/0.03022, allocations: 0 / 0.6442 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.05471, allocations: 9.443 MB / 0.6534 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.579, allocations: 10.52 kB / 0.6534 GB, free: 8.824 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.31222320906818] Failed to read output from testmodel.py, exit status != 0: 7.664934640750289 7.672984865 7.660188428 Calling exit ...