Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.00103/0.00103, 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.0007887/0.0007887, allocations: 169.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.8829/0.8829, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.7033/0.7033, allocations: 154.6 MB / 413.8 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: "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.057e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003059/0.00308, allocations: 2.29 MB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.004167, allocations: 0.8141 MB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.004268, allocations: 7.938 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.004762, allocations: 147.3 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.004919, allocations: 63.61 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.005089, allocations: 71.72 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.005284, allocations: 163.3 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.005495, allocations: 77.19 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.005667, allocations: 107.7 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.005799, allocations: 55.78 kB / 0.6218 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.005819, allocations: 12 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/0.005906, allocations: 51.89 kB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.005957, allocations: 43.89 kB / 0.6219 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.00601, allocations: 47.84 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.006222, allocations: 187.4 kB / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.006225, allocations: 0 / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006226, allocations: 0 / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006232, allocations: 0 / 0.6221 GB, free: 9.523 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005609/0.006793, allocations: 421.3 kB / 0.6225 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.00683, allocations: 12.03 kB / 0.6225 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.006863, allocations: 42.73 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.007035, allocations: 40.75 kB / 0.6226 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007236, allocations: 166 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/0.007298, allocations: 64.16 kB / 0.6228 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.007327, allocations: 16.12 kB / 0.6228 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.007539, allocations: 165.9 kB / 0.623 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007547, allocations: 4 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.007558, allocations: 4 kB / 0.623 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.007576, allocations: 7.984 kB / 0.623 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.007707, allocations: 113.6 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.008299, allocations: 0.5888 MB / 0.6237 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.008479, allocations: 88.19 kB / 0.6237 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.00853, allocations: 54.61 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.008543, allocations: 0 / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.008695, allocations: 172.5 kB / 0.624 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.008696, allocations: 3.938 kB / 0.624 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.000271/0.008967, allocations: 226.8 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.009026, allocations: 140.5 kB / 0.6243 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.009147, allocations: 183.8 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.009159, allocations: 25.7 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.009223, allocations: 140 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.009243, allocations: 31.77 kB / 0.6247 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.009285, allocations: 33.72 kB / 0.6247 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.519e-05/0.00936, allocations: 326.8 kB / 0.625 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.00943, allocations: 91.38 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.009526, allocations: 174.8 kB / 0.6253 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.009681, allocations: 234.3 kB / 0.6255 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009683, allocations: 4 kB / 0.6255 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002275/0.009911, allocations: 296.2 kB / 0.6258 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.009948, allocations: 67.39 kB / 0.6259 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009954, allocations: 7.938 kB / 0.6259 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.009967, allocations: 4.312 kB / 0.6259 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.01004, allocations: 27.98 kB / 0.6259 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.01004, allocations: 7.938 kB / 0.6259 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.01012, allocations: 35.77 kB / 0.6259 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.01013, allocations: 8 kB / 0.6259 GB, free: 5.094 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.941e-05/0.01022, allocations: 167.3 kB / 0.6261 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.01024, allocations: 7.953 kB / 0.6261 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.01026, allocations: 17.41 kB / 0.6261 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01026, allocations: 4 kB / 0.6261 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01026, allocations: 4 kB / 0.6261 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01027, allocations: 3.938 kB / 0.6261 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.01038, allocations: 176.6 kB / 0.6263 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01038, allocations: 4 kB / 0.6263 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01042, allocations: 11.98 kB / 0.6263 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01042, allocations: 4 kB / 0.6263 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.01043, allocations: 3.938 kB / 0.6263 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01043, allocations: 0 / 0.6263 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01043, allocations: 0 / 0.6263 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.01083, allocations: 282.2 kB / 0.6266 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.01084, allocations: 19.98 kB / 0.6266 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01086, allocations: 3.938 kB / 0.6266 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.0109, allocations: 8 kB / 0.6266 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.01095, allocations: 11.98 kB / 0.6266 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/0.01096, allocations: 4 kB / 0.6266 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.01102, allocations: 136.8 kB / 0.6268 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 3.938 kB / 0.6268 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001651/0.01119, allocations: 35.94 kB / 0.6268 GB, free: 4.113 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003912/0.01158, allocations: 0.8091 MB / 0.6276 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.0118, allocations: 303.7 kB / 0.6279 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.0118, allocations: 0 / 0.6279 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.01188, allocations: 121.1 kB / 0.628 GB, free: 2.777 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.01204, allocations: 14.72 kB / 0.628 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.0135, allocations: 2.225 MB / 0.6302 GB, free: 340 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.01356, allocations: 110.6 kB / 0.6303 GB, free: 208 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.01362, allocations: 16.64 kB / 0.6303 GB, free: 192 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.01367, allocations: 40.42 kB / 0.6304 GB, free: 152 kB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.01367, allocations: 0 / 0.6304 GB, free: 152 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.03142, allocations: 3.891 MB / 0.6342 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/6.849, allocations: 13 kB / 0.6342 GB, free: 12.43 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.547547167167068] Failed to read output from testmodel.py, exit status != 0: 6.9295785035938025 6.939613818 6.931464588 Calling exit ...