Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001154/0.001154, 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.001247/0.001247, 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.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6978/0.6978, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.5e-05, allocations: 5.375 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003149/0.003164, allocations: 3.053 MB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005057, allocations: 1.67 MB / 0.6226 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.005186, allocations: 7.938 kB / 0.6227 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008193/0.006006, allocations: 342.6 kB / 0.623 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.006403, allocations: 210.8 kB / 0.6232 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.006702, allocations: 186.9 kB / 0.6234 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.006982, allocations: 330.8 kB / 0.6237 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.007266, allocations: 176.9 kB / 0.6238 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.007481, allocations: 191.5 kB / 0.624 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.007708, allocations: 143.6 kB / 0.6242 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.007735, allocations: 20 kB / 0.6242 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.00796, allocations: 231.4 kB / 0.6244 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.008045, allocations: 103.7 kB / 0.6245 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.008121, allocations: 91.81 kB / 0.6246 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.008513, allocations: 442.7 kB / 0.625 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008515, allocations: 0 / 0.625 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.008516, allocations: 4 kB / 0.625 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.008521, allocations: 0 / 0.625 GB, free: 6.59 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.0006738/0.009195, allocations: 485.3 kB / 0.6255 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.009235, allocations: 9.469 kB / 0.6255 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.009291, allocations: 66.72 kB / 0.6256 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.009695, allocations: 92.69 kB / 0.6256 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.009963, allocations: 199.8 kB / 0.6258 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.009983, allocations: 16.88 kB / 0.6258 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.01009, allocations: 28.53 kB / 0.6259 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.01055, allocations: 424.9 kB / 0.6263 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01057, allocations: 192 / 0.6263 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.01059, allocations: 15.92 kB / 0.6263 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/0.01066, allocations: 32.47 kB / 0.6263 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.01099, allocations: 301.8 kB / 0.6266 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01207, allocations: 1.085 MB / 0.6277 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.01235, allocations: 202.5 kB / 0.6279 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.01245, allocations: 112.7 kB / 0.628 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.01252, allocations: 16.23 kB / 0.628 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.01254, allocations: 34.56 kB / 0.628 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.01254, allocations: 4 kB / 0.628 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0008701/0.01341, allocations: 0.717 MB / 0.6287 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01344, allocations: 59.34 kB / 0.6288 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01358, allocations: 199.7 kB / 0.629 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.0136, allocations: 29.7 kB / 0.629 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.01367, allocations: 164.2 kB / 0.6292 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.01379, allocations: 67.42 kB / 0.6292 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.01385, allocations: 57.66 kB / 0.6293 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.01393, allocations: 330.8 kB / 0.6296 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.01405, allocations: 111.9 kB / 0.6297 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.01419, allocations: 171 kB / 0.6299 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.01446, allocations: 308.5 kB / 0.6302 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01446, allocations: 3.938 kB / 0.6302 GB, free: 1.027 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004625/0.01492, allocations: 410.1 kB / 0.6305 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01494, allocations: 4 kB / 0.6306 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01494, allocations: 7.938 kB / 0.6306 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.01519, allocations: 96.75 kB / 0.6307 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01532, allocations: 56.03 kB / 0.6307 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.01652, allocations: 1.76 MB / 0.6324 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.01662, allocations: 15.98 kB / 0.6324 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.01664, allocations: 12 kB / 0.6325 GB, free: 14.55 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.0001001/0.01674, allocations: 162.7 kB / 0.6326 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.01676, allocations: 19.91 kB / 0.6326 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.01707, allocations: 301.2 kB / 0.6329 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.01707, allocations: 0 / 0.6329 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01707, allocations: 4 kB / 0.6329 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01707, allocations: 3.984 kB / 0.6329 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.01762, allocations: 0.6536 MB / 0.6336 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01762, allocations: 0 / 0.6336 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.01778, allocations: 63.89 kB / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01778, allocations: 0 / 0.6336 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01779, allocations: 4.125 kB / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01779, allocations: 4 kB / 0.6336 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.0178, allocations: 7.938 kB / 0.6336 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.01819, allocations: 0.5087 MB / 0.6341 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.01825, allocations: 43.86 kB / 0.6342 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01827, allocations: 128 / 0.6342 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.01836, allocations: 23.92 kB / 0.6342 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.01838, allocations: 15.88 kB / 0.6342 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.01839, allocations: 12 kB / 0.6342 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.01847, allocations: 140.6 kB / 0.6344 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.01847, allocations: 0 / 0.6344 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002218/0.01869, allocations: 68 kB / 0.6344 GB, free: 12.44 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.0006619/0.01935, allocations: 1.052 MB / 0.6355 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.01985, allocations: 415.3 kB / 0.6358 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01986, allocations: 0 / 0.6358 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01996, allocations: 107.8 kB / 0.6359 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.02023, allocations: 41.98 kB / 0.636 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.02302, allocations: 2.844 MB / 0.6388 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.02312, allocations: 173.1 kB / 0.6389 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.02323, allocations: 53.91 kB / 0.639 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.02331, allocations: 72.47 kB / 0.6391 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.2e-07/0.02331, allocations: 0 / 0.6391 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.04137, allocations: 5.848 MB / 0.6448 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.44, allocations: 9.75 kB / 0.6448 GB, free: 1.848 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.153941326774657] Failed to read output from testmodel.py, exit status != 0: 7.526917549781501 7.535555532 7.525318496 Calling exit ...