Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0007587/0.0007587, 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.0008075/0.0008075, 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.9255/0.9255, 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.7225/0.7225, allocations: 154.6 MB / 413.8 MB, free: 0.793 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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.607e-05, allocations: 6.844 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003506/0.003532, allocations: 3.053 MB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.005483, allocations: 1.678 MB / 0.6227 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.005586, allocations: 7.938 kB / 0.6227 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006429/0.006229, allocations: 341.5 kB / 0.6231 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.006551, allocations: 214.8 kB / 0.6233 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.00685, allocations: 183.4 kB / 0.6234 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.007113, allocations: 326.8 kB / 0.6237 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.007388, allocations: 169 kB / 0.6239 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.007609, allocations: 195.5 kB / 0.6241 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.007829, allocations: 151.6 kB / 0.6242 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.007856, allocations: 20 kB / 0.6243 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.008079, allocations: 227.4 kB / 0.6245 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.008159, allocations: 107.7 kB / 0.6246 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.008224, allocations: 87.81 kB / 0.6247 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.008603, allocations: 442.7 kB / 0.6251 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.008607, allocations: 4 kB / 0.6251 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.008608, allocations: 0 / 0.6251 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.008613, allocations: 0 / 0.6251 GB, free: 6.453 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007188/0.009332, allocations: 491.5 kB / 0.6256 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.009373, allocations: 12.03 kB / 0.6256 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.009423, allocations: 54.73 kB / 0.6256 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.009839, allocations: 96.69 kB / 0.6257 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.01008, allocations: 197.4 kB / 0.6259 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.0101, allocations: 16.88 kB / 0.6259 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.01017, allocations: 20.56 kB / 0.6259 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.01058, allocations: 428.9 kB / 0.6263 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01059, allocations: 192 / 0.6263 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.01061, allocations: 19.92 kB / 0.6264 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/0.01068, allocations: 28.47 kB / 0.6264 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.01099, allocations: 305.8 kB / 0.6267 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.01208, allocations: 1.093 MB / 0.6277 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.01238, allocations: 206.4 kB / 0.6279 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.01248, allocations: 112.7 kB / 0.6281 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.01257, allocations: 8.25 kB / 0.6281 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01259, allocations: 38.5 kB / 0.6281 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.01259, allocations: 0 / 0.6281 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.001074/0.01367, allocations: 0.725 MB / 0.6288 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.01371, allocations: 51.41 kB / 0.6289 GB, free: 2.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.01385, allocations: 199.7 kB / 0.629 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.01387, allocations: 29.7 kB / 0.6291 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.01395, allocations: 160.2 kB / 0.6292 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.01398, allocations: 67.42 kB / 0.6293 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.01405, allocations: 61.64 kB / 0.6293 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.049e-05/0.01414, allocations: 326.8 kB / 0.6297 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.01426, allocations: 115.9 kB / 0.6298 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01441, allocations: 163.5 kB / 0.6299 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.0147, allocations: 305.2 kB / 0.6302 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.0147, allocations: 3.938 kB / 0.6302 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005231/0.01522, allocations: 414.1 kB / 0.6306 GB, free: 496 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.01524, allocations: 8 kB / 0.6306 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01525, allocations: 3.938 kB / 0.6306 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.01552, allocations: 92.77 kB / 0.6307 GB, free: 388 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01568, allocations: 55.89 kB / 0.6308 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.01709, allocations: 1.764 MB / 0.6325 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.0172, allocations: 15.98 kB / 0.6325 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.01722, allocations: 12 kB / 0.6325 GB, free: 14.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.01736, allocations: 163.3 kB / 0.6327 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.01739, allocations: 15.91 kB / 0.6327 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.01774, allocations: 300.3 kB / 0.633 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01775, allocations: 4 kB / 0.633 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01775, allocations: 0 / 0.633 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01775, allocations: 0 / 0.633 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.01841, allocations: 0.6499 MB / 0.6336 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01841, allocations: 4 kB / 0.6336 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.0186, allocations: 55.89 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.0186, allocations: 4 kB / 0.6337 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01862, allocations: 4 kB / 0.6337 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.01862, allocations: 8.125 kB / 0.6337 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.01863, allocations: 7.922 kB / 0.6337 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.01905, allocations: 0.5073 MB / 0.6342 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.01912, allocations: 43.81 kB / 0.6342 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.01915, allocations: 11.98 kB / 0.6342 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.01924, allocations: 20.02 kB / 0.6343 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.01927, allocations: 11.89 kB / 0.6343 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01928, allocations: 11.94 kB / 0.6343 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.01937, allocations: 144.1 kB / 0.6344 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01937, allocations: 0 / 0.6344 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002718/0.01964, allocations: 71.98 kB / 0.6345 GB, free: 12.31 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0007233/0.02037, allocations: 1.046 MB / 0.6355 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005803/0.02095, allocations: 419.7 kB / 0.6359 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02095, allocations: 0 / 0.6359 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.02105, allocations: 111.8 kB / 0.636 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.02133, allocations: 34.56 kB / 0.6361 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.02391, allocations: 2.84 MB / 0.6388 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.02402, allocations: 173.1 kB / 0.639 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.02413, allocations: 57.89 kB / 0.639 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.02421, allocations: 68.47 kB / 0.6391 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of SimCode: time 8.92e-07/0.02421, allocations: 0 / 0.6391 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.04581, allocations: 5.85 MB / 0.6448 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.281, allocations: 9.344 kB / 0.6448 GB, free: 1.723 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_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_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.103320229798555] Failed to read output from testmodel.py, exit status != 0: 7.371119920164347 7.382529978 7.371760211 Calling exit ...