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.0007838/0.0007838, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008151/0.0008151, allocations: 217.2 kB / 22.25 MB, free: 3.57 MB / 13.93 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.9146/0.9146, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.7719/0.7719, allocations: 203.5 MB / 0.5039 GB, free: 10.25 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 62.09 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.4989, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003396/0.5023, allocations: 3.07 MB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.5043, allocations: 1.712 MB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.5044, allocations: 6.281 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.505, allocations: 336.6 kB / 0.8224 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.5054, allocations: 213.8 kB / 0.8226 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.5057, allocations: 187 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.506, allocations: 317.9 kB / 0.8231 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.5063, allocations: 172.6 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.5065, allocations: 148.7 kB / 0.8234 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.5067, allocations: 160.7 kB / 0.8235 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.5068, allocations: 21.66 kB / 0.8235 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.5071, allocations: 219.7 kB / 0.8237 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5072, allocations: 114.5 kB / 0.8239 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.5073, allocations: 97.23 kB / 0.8239 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.5078, allocations: 425.1 kB / 0.8244 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5078, allocations: 0 / 0.8244 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5078, allocations: 0 / 0.8244 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.5078, allocations: 1.219 kB / 0.8244 GB, free: 13.14 MB / 0.6198 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.0007756/0.5086, allocations: 495 kB / 0.8248 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5086, allocations: 8.75 kB / 0.8248 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.5087, allocations: 62.17 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.5092, allocations: 95.98 kB / 0.825 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.5095, allocations: 199.7 kB / 0.8252 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.5095, allocations: 13.16 kB / 0.8252 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.5096, allocations: 25.11 kB / 0.8252 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.5101, allocations: 431.8 kB / 0.8256 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5101, allocations: 0 / 0.8256 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.5101, allocations: 9.641 kB / 0.8256 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/0.5102, allocations: 33.84 kB / 0.8257 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.5106, allocations: 304.7 kB / 0.826 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5118, allocations: 1.093 MB / 0.827 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.5121, allocations: 209.8 kB / 0.8272 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.5123, allocations: 107.2 kB / 0.8273 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.5124, allocations: 13.5 kB / 0.8273 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5124, allocations: 33.25 kB / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.5124, allocations: 0 / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001011/0.5134, allocations: 0.7149 MB / 0.8281 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.5134, allocations: 54.95 kB / 0.8281 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.5136, allocations: 195.7 kB / 0.8283 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.5136, allocations: 31.78 kB / 0.8283 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.5137, allocations: 165.2 kB / 0.8285 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.5138, allocations: 70.59 kB / 0.8286 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.5138, allocations: 61.33 kB / 0.8286 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.5139, allocations: 337.4 kB / 0.8289 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.5141, allocations: 115.1 kB / 0.8291 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.5142, allocations: 169.9 kB / 0.8292 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.5145, allocations: 298.4 kB / 0.8295 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5145, allocations: 0.9688 kB / 0.8295 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008248/0.5154, allocations: 416.8 kB / 0.8299 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.5154, allocations: 5.75 kB / 0.8299 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5154, allocations: 2.094 kB / 0.8299 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.5157, allocations: 100.7 kB / 0.83 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.5159, allocations: 55.28 kB / 0.8301 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.5178, allocations: 1.756 MB / 0.8318 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.5179, allocations: 24 kB / 0.8318 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.5179, allocations: 9.141 kB / 0.8318 GB, free: 8.023 MB / 0.6198 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.0001795/0.5181, allocations: 156.2 kB / 0.832 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5181, allocations: 17.25 kB / 0.832 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.5186, allocations: 293.7 kB / 0.8322 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5186, allocations: 5.344 kB / 0.8323 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5186, allocations: 6.109 kB / 0.8323 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5186, allocations: 4.969 kB / 0.8323 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.5196, allocations: 0.657 MB / 0.8329 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5196, allocations: 4 kB / 0.8329 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.5198, allocations: 58.5 kB / 0.833 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5198, allocations: 9.938 kB / 0.833 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5198, allocations: 7.453 kB / 0.833 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.5198, allocations: 5.469 kB / 0.833 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5198, allocations: 1.125 kB / 0.833 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.5204, allocations: 0.5071 MB / 0.8335 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.5204, allocations: 45.59 kB / 0.8335 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.5205, allocations: 7.281 kB / 0.8335 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.5206, allocations: 15.02 kB / 0.8335 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.5206, allocations: 11.59 kB / 0.8336 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.5206, allocations: 5.219 kB / 0.8336 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001142/0.5207, allocations: 148.1 kB / 0.8337 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5207, allocations: 3.938 kB / 0.8337 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002856/0.521, allocations: 65.78 kB / 0.8338 GB, free: 6.859 MB / 0.6198 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.0008178/0.5218, allocations: 1.062 MB / 0.8348 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000703/0.5225, allocations: 403.5 kB / 0.8352 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5225, allocations: 5.031 kB / 0.8352 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.5227, allocations: 111.7 kB / 0.8353 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.523, allocations: 45.53 kB / 0.8353 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.5264, allocations: 2.88 MB / 0.8382 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.5266, allocations: 167.9 kB / 0.8383 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.5268, allocations: 68.34 kB / 0.8384 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5269, allocations: 65.97 kB / 0.8384 GB, free: 3.668 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.5269, allocations: 4 kB / 0.8385 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.5496, allocations: 5.705 MB / 0.844 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.602, allocations: 5.391 kB / 0.844 GB, free: 1.195 MB / 0.6198 GB " [Timeout remaining time 652] (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.52584860380739] Failed to read output from testmodel.py, exit status != 0: 7.684233637992293 7.697278837 7.186993565 Calling exit ...